In the arrangement shown in figure,

In the arrangement shown in figure,
mA= 2 kg and
mB = 1 kg
String is light and inextensible. Find the acceleration of center of mass of both blocks.

Net pulling force on the system is
image
Total mass being pulled is
mA+mB or 3 kg
a = Net pulling force / total mass = g/3
image