Answer:
340 square feet
Explanation:
If we "unwrap" the painted surface from the shed, it will have the shape shown in the attachment. It is essentially a 40' by 8' rectangle with two 10' wide by 2' high triangles added.
The rectangle area is ...
A = LW = (40 ft)(8 ft) = 320 ft²
The total area of the two triangles is ...
A = 2(1/2)bh = (10 ft)(2 ft) = 20 ft²
Then the painted area is ...
total area = 320 ft² +20 ft²
total area = 340 ft²