Two bodies A and B of masses m and 2m respectively are placed on a smooth floor.They are connected by a spring .A third body C of mass m moves with velocity
v0 along the line joining A and B and collides elastically with A as shown in fig.At a certain instant of time
t0 after collision , it is found that the instantaneous velocities of A and B are the same.Further at this instant the compression of the spring is found to be
x0 .Determine -(i) the common velocity of A and B at time
t0 and (ii) the spring constant.