Pulley balance problem

Question

Hints

Answer