A 0.6-kg ball A is moving with a velocity of 6 m/s when it is hit by a 1-kg ball B moving with a velocity of 4 m/s moving in the same direction. Knowing that the coefficient of restitution is (0.64)0.5, determine the velocity of each ball after impact.