You want to paint the walls of your bedroom. Two walls measure 16 ft by 8 ft, and the other two walls measure 15 ft by 8 ft. The paint you wish to purchase must be purchased in one-gallon cans and costs $17 per gallon. Each gallon will cover 400 ft2 of wall. Find the total amount you will spend on paint.