To solve this, we can use the trigonometric function tangent.

Where ol is the length of the opposite leg to angle θ and al is the anjacent leg to angle θ.
By taking the tangent of the angle whose measure equals 30°, we get:

By solving for GL and replacing 40 for LM, we get:
![\begin{gathered} GL=LM*\tan 30 \\ GL=40*\tan 30 \\ GL=\frac{40\sqrt[]{3}}{3} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/high-school/f7o0nn29kqlhn8ykatgqjf8m9vs3f179xr.png)
Then, the length of GL equals 40√3/3