1) We can sketch this out to better grasp it:
Since the height is always perpendicular, so we can tell that this is a right angle and the ladder is the hypotenuse.
2) So now, we can make use of one trig ratio that relates the opposite leg to angle 71º and the hypotenuse:
So the ladder is 30.7 ft long.