The diagram below shows a representation of the information:
We can draw a triangle from that as
Where x is the distance from the bottom of the ladder to the wall.
Solving the triangle using the Tan Trigonometric ratio, we have
[tex]\begin{gathered} \tan 79=\frac{18}{x} \\ 5.144=\frac{18}{x} \\ x=\frac{18}{5.144} \\ x=3.5 \end{gathered}[/tex]Thus, the distance along the ground from the bottom of the ladder to the wall is approximately 3.5 feet.