The correct option is A (m1−m2m1+m2)2g
Let a be acceleration of both the blocks,
the equations of motion of two blocks are
m1g−T=m1a
T−m2g=m2a
Eliminating T, we get; a=m1−m2m1+m2g........(1)
As there is no external force in horizontal direction, so the centre of mass of the system does not change along horizontal direction and it will only have a vertical acceleration.
aCM=m1a1+m2a2m1+m2
Here →a1=a and →a2=−a because if m1 moves down, m2 moves up.
aCM=m1−m2m1+m2a.......(2)
However,
Putting equation (1) in equation (2)
We get
aCM=(m1−m2m1+m2)2g