Two blocks A and B of masses m and 2m respectively are placed on a smooth floor. They are connected by a spring. A third block C of mass m moves with a velocity v0 along the line joing A and B and collides elastically with A, as shown in figure. At a certain instant of time t0 after collision, it is found that the instantaneous velocities of A and B are the same.