From the diagram, the tangent value is
(Substitute h for opposite side, 25 for adjacent side)
(Use a calculator to find tangent value)
(Multiply by 25 to each side)
(Cancel common terms)
(Multiply:
)
(Rounded to nearest foot)
The height of the roof is 9 ft.