Consider two masses connected by a massless string slung over a pulley as shown. The moment of inertia of the pulley is I, and its radius is R. Calculate the acceleration of the masses.