In order to understand better this problem, we can use the<u> figure attached</u>, in which we have a<u> right triangle</u> (with a 90 degree angle), where is its hypotenuse, is the adjacent side to the angle of elevation from the boat to the top of the lighthouse and is the opposite side to .
Knowing this, we will use the tangent trigonometric function to find :