a ladder is leaning up against a building. the bottom of the ladder is 6 feet from the building. the top of the ladder reaches the wall at a height of 8 feet. how long is the ladder?