In the arrangement shown in the figure, find the tensions in the rope and accelerations of the masses m1 and m2 and pulleys P 1 and P 2 when the system is set free to move. Assume the pulleys to be massless and strings are light and inextensible.