Mechanical advantage is calculated by using the formula

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

d