Figure shows a system of two masses m1 and m2 connected by a light inextensible string passing over a pulley having its rotational inertia I about its axis and radius R. The string does not slip over the pulley and the horizontal surface is smooth. Find the acceleration of the masses in m/s2.
[Take : I = 3 kgm2, R = 1m, m1 = 1 kg, m2 = 1 kg ]

Know your College Admission Chances Based on your Rank/Percentile, Category and Home State.
Get your JEE Main Personalised Report with Top Predicted Colleges in JoSA
Since the string does not slip over the pulley, tangential acceleration at the rim a = αR, where a angular aceeleration, thus .
For the pulley,
torque

Equations of motion for m1, m2 and pulley are
m1g – T1 = m1a
T2 = m2a
Adding