A ladder is leaning against a building. The distance from the bottom of the ladder to the building is 8 ft less than the length of the ladder. How high up the side of the building is the top of the ladder if that distance is 1 ft less than the length of the ladder?