47. The side lengths of the flat, trapezoidal ceiling of a bedroom are given in the figure below. Marie will paint the entire ceiling with 1 coat of paint, using paint that has a price of $8 per quart and is sold only by the full quart. Each quart of paint covers an area of 90 square feet with 1 coat of paint. What is the total price of the paint that Marie needs to buy?