In the arrangement shown in figure find the tensions in the rope and accelerations of the masses m1 and m2 and pulleys P1 and P2 when the system is set free to move. Assume the pulleys to be massless and strings are light and inextensible.
p) T (i) m1g
q) a1 (ii) m2g
r) a2 (iii) (m1 - m2)g
s) ap1 (iv) g downward
t) ap2 (v) g upward
(vi) 3g downward