The two bodies of mass $m_{1}$ and respectively are tied to the ends of a massless string, which passes over a light and frietionless pulley. The masses are initially at rest and then released. Then acceleration of the centre of mass of the system is
(a) $\left(\frac{m_{1}-m_{2}}{m_{1}+m_{2}}\right)^{2} g$
(b) $\left(\frac{m_{1}-m_{2}}{m_{1}+m_{2}}\right)^{2}$
(c) $g$
(d) zero