find the acceleration of centre of mass of the two blocks.