Using tangent function:
[tex]\begin{gathered} \tan (\theta)=\frac{opposite}{adjacent} \\ \frac{6}{15}=\frac{15}{x-6} \\ solve_{\text{ }}for_{\text{ }}x\colon \\ 6(x-6)=15^2 \\ 6x-36=225 \\ 6x=225+36 \\ 6x=261 \\ x=\frac{261}{6} \\ x=43.5ft \end{gathered}[/tex]