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:

So the distance wanted is 7.42 ft.