Mechanical advantage is calculated by using the formula:

a
Height of Slope (H) / Length of Slope (L)
b
Force of Friction/Gravity
c
Normal Force/ Acceleration
d
Length of Slope (L) / Height of slope (H)

d