Answer:
13 feet long
Explanation:
This situation forms a right triangle, where the ladder is the hypotenuse, the distance away from the building is the short leg, and the height to the side of the building is the long leg.
Use the pythagorean theorem, and solve for c, the hypotenuse:
a² + b² = c²
5² + 12² = c²
25 + 144 = c²
169 = c²
13 = c
So, the ladder is 13 feet long