The portions of a house that need to be heated can be modeled by one rectangular prism with a length of 45 feet, a width of 20 feet, and a height of 18 feet, and a second rectangular prism with a base area of 350 square feet and a height of 9 feet. What is the total volume?