The roller with the mass m and radius R can rotate without friction around the point O. Around the roller, a weightless and non-stretchable rope is thrown at the ends of which blocks of mass m1, m2 are attached. Block with mass m1 is pulled by the force P on the rough horizontal surface with coefficient of friction. Calculate the angular acceleration of the roller.
Given: m, m1, m2, R, P = ?