using the trigonometric ratio
[tex]\begin{gathered} \tan \theta=\frac{opposite}{adjacent} \\ \text{where,} \\ \text{opposite}=6ft \\ \text{adjacent=}5ft \\ \end{gathered}[/tex][tex]\begin{gathered} \tan \theta=\frac{6ft}{5ft} \\ \tan \theta=1.2 \end{gathered}[/tex]
To calculate the height of the house,
[tex]\begin{gathered} \tan \theta=\frac{opposite}{adjacent} \\ \text{opposite}=h \\ \text{adjacent}=25ft \\ \tan \theta=1.2 \end{gathered}[/tex]
By susbstitution,
[tex]\begin{gathered} 1.2=\frac{h}{25ft} \\ \text{cross multiply we will have} \\ h=1.2\times25ft \\ h=30ft \end{gathered}[/tex]
Therefore,
The height of the house= 30ft