and B can slide frictionlessly on horizontal surface. A is set in motion with velocity while B is at rest.