Let's draw a rough figure:
Here, h is the distance we are solving for.
Now,
With respect to the given angle 30 degrees, we have the hypotenuse and want to find the opposite side.
The trig ratio relating opposite side and hypotenuse is SINE.
Thus, we can write:
Cross multiiplying, we solve for h [remember, value of sin(30) is 1/2]:
The height of the boat ramp is 20 feet.