but B can slide frictionlessly on the horizontal surface. A is set in motion with velocity