I need help with this practice I am having trouble completing it

Using tangent function:
[tex]\begin{gathered} \tan (24)=\frac{y}{x} \\ and \\ \tan (10)=\frac{y}{800+x} \end{gathered}[/tex]so:
[tex]\begin{gathered} y=\tan (24)\cdot x \\ \tan (10)=\frac{\tan(24)\cdot x}{800+x} \\ 800\tan (10)+x\tan (10)-x\tan (24)=0 \\ x(\tan (24)-\tan (10))=800\tan (10) \\ x=\frac{800\tan(10)}{\tan(24)-\tan(10)} \\ \end{gathered}[/tex]Therefore,
[tex]\begin{gathered} y=\tan (24)\cdot\frac{800\tan(10)}{\tan(24)-\tan(10)} \\ y\approx233.6ft \end{gathered}[/tex]Answer:
Approximately 233.6 ft