The diagram shows one side of a storage Barn. A)This side needs to be painted find the total area to be paintedB) Each gallon of paint cost $20 and covers 350 ft.². Find the total cost to paint the side once. Justify your answer.

The area of this side can be calculated by adding the area of the rectangular part to the area of the triangular part. The area of a triangle is given by the following formula:
[tex]A=\frac{b\times h}{2}[/tex]Where b is the length of the base and h is the height. In this case, we can determine the height of the triangle by subtracting the heigh of the rectangular part to the height of the whole side, like this:
h = 26.5 - 14.5 = 12
And the base of the triangle equals 22.8, then by replacing these values into the above formula, we get:
[tex]A=\frac{22.8\times12}{2}=138.8[/tex]Then, the area of the triangle is 138.8, we have to add this area to the area of the rectangular part, which can be calculated like this:
A = 14.5×22.8 = 330.6
Then, the total area is:
A = 330.6 + 138.8 = 469.4
The total area to be painted is 469.4 ft²