Okay, here we have this:
Considering the provided graph, and that a right triangle is formed, we are going to find the length of the ladder using the Pythagorean theorem, so we obtain the following:
![\begin{gathered} h=\sqrt[]{4^2+2^2} \\ h=\sqrt[]{16+4} \\ h=\sqrt[]{20} \\ h\approx4.5 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/9rax5p60fz5uaudz89hfc3fpk42d7i8dg4.png)
Finally we obtain that the length of the ladder is approximately 4.5 meters