Hello, Bridget,
The problem is asking the height of what is a right triangle system. Imagine the right angle at the base of the building. I'll call the vertical distance up from that point as the height, or H. We want to find H, the distance the ladder reaches up the building. The distance along the ground to where the ladder is resting, I'll call the base, or B. The ladder itself becomes the hypotenuse in this diagram, which I'll label as C..
Since it is a right angle, we know that H2 + B2 = C2.
H = the unknown
B = 12 ft
C = 20 ft
Thus, H2 + (12)2 = (20)2
H2 = 400 - 144
H = 16 feet
Fun!
I hope this helps,
Bob