We can draw the flight as:
We can use the trigonometric ratio that relates the sine of an angle with the opposite side and the hypotenuse:
[tex]\begin{gathered} \sin (26\degree)=\frac{\text{Opposite}}{\text{Hypotenuse}}=\frac{h}{D} \\ D=\frac{h}{\sin (26\degree)} \\ D=\frac{40}{\sin (26\degree)} \end{gathered}[/tex]Answer: the distance can be expressed as 40 / sin(26 deg)