The ratio of output force to the input force is generally the mechanical advantage of the machine.
Total displacement along the length of mountain is given as
L = 235 m
angle of mountain with horizontal = 35 degree
now we will have horizontal displacement as
x = L cos35
x = 235 cos35 = 192.5 m
similarly for vertical displacement we can say
y = L sin35
y = 235 sin35 = 134.8 m