9702/12 Physics Oct Nov 2018 Online Test | Cambridge AS and A Level MCQ

A weight W hangs from a trolley that runs along a rail. The trolley moves horizontally through a distance p and simultaneously raises the weight through a height q. As a result, the weight moves through a distance r from X to Y. It starts and finishes at rest. How much work is done on the weight during this process?