The front of a house is shaped like a rectangle topped by a triangular gable, as shown. The house is \(10\,\text{m}\) wide, the rectangular wall is \(5\,\text{m}\) high, and the total height to the roof peak is \(8\,\text{m}\).
The wall has two square windows with side length \(2\,\text{m}\) and one rectangular window measuring \(2\,\text{m}\times1\,\text{m}\).
The wall will receive two coats of paint. One liter covers \(5\,\text{m}^2\), and paint is sold in \(10\)-liter pails that cost \(\$45.00\) each.
What is the minimum cost of the paint pails needed?

Hints
- Find the areas of the rectangular wall and triangular gable.
- Subtract the areas of all three windows.
- Account for two coats before finding the amount of paint.
- Paint pails can only be purchased in whole numbers, so round the number of pails up when necessary.
Solution
1. The rectangular part of the wall has area \(10\cdot5=50\,\text{m}^2\). The gable height is \(8-5=3\,\text{m}\), so the triangular gable has area \(\frac{1}{2}\cdot10\cdot3=15\,\text{m}^2\). The entire front has area \(50+15=65\,\text{m}^2\).
2. The two square windows have total area \(2\cdot(2\cdot2)=8\,\text{m}^2\), and the rectangular window has area \(2\cdot1=2\,\text{m}^2\). The total window area is \(10\,\text{m}^2\).
3. One coat covers \(65-10=55\,\text{m}^2\). Two coats require coverage for \(2\cdot55=110\,\text{m}^2\).
4. The paint needed is \(110\div5=22\) liters.
5. Two pails contain only \(20\) liters, so \(3\) pails are required. The minimum cost is \(3\cdot\$45.00=\$135.00\).
Answer
The paint pails cost a minimum of \(\$135.00\).