Two spheres A and B of masses m1 and m2 respectively collide. A is at rest initially and B is moving with velocity v along x-axis. After collision B has a velocity$\frac{v}{2}$ in a direction perpendicular to the original direction. The mass A moves after collision in the direction.