Members of the fire department lean a 30-foot ladder against a building. The side of the building is perpendicular to the level ground so that the base of the ladder is 10 feet away from the base of the building. To the nearest foot, how far up the building does the ladder reach?
Can you please explain with some details?