A hiker of weight G G\,G climbs up a mountain path.

The hiker moves a horizontal distance of x x\,x and a vertical distance of yyy. What is the work done against gravity by the hiker?
G×xG \times xG×x
G×yG \times yG×y
G×x2+y2G \times \sqrt{x^2 + y^2}G×x2+y2
G×yxG \times \frac{y}{x}G×xy