The setup of both ladders will give us two triangles as shown below:
Since both triangles have 2 equal angles in both triangles, this means that they are both similar.
Hence, we can have a ratio of their sides equal to each other as follows:
![(|AC|)/(|AB|)=(|DF|)/(|DE|)](https://img.qammunity.org/2023/formulas/mathematics/college/ap59fe69etngv1p46dm8w7lyxvpi21hcdo.png)
Substituting, we have
![\begin{gathered} (25)/(35)=(x)/(14) \\ \therefore \\ x=(25*14)/(35) \\ x=10\text{ ft} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/qjvzg845lz5xeh02g461j03v8eu7b9qjcp.png)
The height is 10 feet.