Brett has leaned a five-meter-long ladder against his house to paint a window. He placed the base of the ladder 3 m away from the wall. How far up is the window?

this is a 3-4-5 Pythagorean right triangle