In order to solve this problem, first let's draw the corresponding image to the problem:
Then, to calculate the distance x, we can use the sine relation of the angle of 18°.
The sine relation is the length of the opposite side to the angle over the length of the hypotenuse.
So we have:
[tex]\begin{gathered} \sin (18\degree)=\frac{x}{24} \\ \text{0}.309=\frac{x}{24} \\ x=24\cdot0.309 \\ x=7.42 \end{gathered}[/tex]So the distance wanted is 7.42 ft.