The acceleration of block B in the figure will be :
Two spheres of masses m1 and m2 (m1>m2) respectively are tied to the ends of a light, inextensible string which passes over a light frictionless pulley. When the masses are released from their initial state of rest, the acceleration of their centre of mass is: