In the following pulley system, the pulleys and string are both massless. If the system is in equilibrium, what is M/m?

Answer:
M/m = 1/2
Explanation:
If we make a free body diagram, (as in the attached image)
There is no displacement of the pulley, and therefore the sum of forces at y-axis will be equal to zero.