the dark point is the helicaptor. So we get that the height of the helicaptor is
[tex]\begin{gathered} 10\cdot\sin 27=h \\ h\approx4.54mi \end{gathered}[/tex]So we get that
[tex]\begin{gathered} x=10\cdot\cos 27\approx8.91mi \\ \tan (18)=\frac{4.54}{y}\rightarrow y=\frac{4.54}{\tan 18}\approx13.97mi \end{gathered}[/tex]so the distance between the two military installations is
[tex]x+y=8.91+13.97\approx22.88mi[/tex]