A 9-foot long ladder is placed against the side of a building such that the top of the ladder reaches a window that is 6 feet above the ground. To the nearest tenth of a foot, what is the distance from the bottom of the ladder to the building?