Because the ladder, the ground, and the side of the building form a right triangle, you can use the Pythagorean Theorem: