(a) Forces in vertical direction on the system are weights of the blocks and normal reaction from the ground. They balance themselves and have no net resultant. The only external force on the system is the apllied force F in the horizontal direction towards the right. `Sigma vec(F)_(i)= M vec(a)_(c ) rarr" "F=(m+m)a_(c )`
`a_ (c ) = (F)/(2m)` towards right
(b) The mass center moves with constant acceleration, therefore it displacement in time t is given by equation of constant accelaration motion. `x=ut+1/2at^2rarr`" "`x_c=(Ft^2)/(4m)`
(c) Positions `x_(A)` and `x_(B)` of particles A and B forming a system and position `x_(C )`mass center are obtained by following eq. `Mvec(r )_(c ) = Sigmam_(i)vec(r )_(i)`
Substituting values we obtain `2mx_(c )= mx_(A) + mx_(B)" "x_(c )= (x_(A) + x_(B))/(2)`
Now using result obtained in part(b), we have `x_(A)+x_(B)=(Ft^(2))/(2m)`
Extension in the spring at this instant is `x_(0)=x_(B)-x_(A)`
From the above two equations, we have `x_(A) = 1/2((Ft^(2))/(2m)-x_(0))` and `x_(B) = 1/2((Ft^(2))/(2m) + x_(0))`.