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:
Finally we obtain that the length of the ladder is approximately 4.5 meters