For the masses and ideal-massless pulleys shown in figure find the ratio of magnitudes of accelerations of masses A and B. Pulley C is fixed to the ceiling and pulley D is free to move vertically. All strings are inextensible and assume the string length to be equal between the pulley D and C and between the pulley D and the rigid support.