Jason accidentally locked himself out of his apartment, but remembered that he left a window open. The window is 8 feet above the ground. Since he works part-time at the local hardware store, he went to the store to borrow a ladder. There's a row of bushes along the edge of the apartment, so he will have to place the ladder 6 feet from the building. What length of ladder will Jason need to reach the window?