If we shift a body in equilibrium from A to C in a gravitational field via path AC or ABC :

Answer & explanation
Correct answer: option 1
For the path AC :
WAC = Fs cos (90o - θ)
= mgs sin θ
= mgh
For the path AB :
WAB = Fa cos 90o
= 0
For the path BC :
WBC = Fh cos 0o
= mgh
So that : WAB + WBC = mgh = WAC
i.e. WABC = WBC