A pulley fixed to the ceiling carried a thread with bodies of masses m1 and m2 attached to its ends. The masses of the pulley and the thread are negligible and friction is absent. Find the acceleration of the center of mass of this system.