22.5feet
The sketch of the diagram that represents the statement is given as:
In order to determine the height "H" of the building, we will use the similarity theorem of the triangle as shown:
[tex]\frac{H}{30}=\frac{6}{8}[/tex]Cross multiply
[tex]\begin{gathered} 6\times30=8\times H \\ 180=8H \\ H=\frac{180}{8} \\ H=22.5feet \end{gathered}[/tex]Hence the height of the building is 22.5feet