TeX source:
x=\frac{40}{\tan \left(10^{\circ}\right)} \approx 226.9 \mathrm{ft}