For this question, we compute the superficial area of a rectangular prism without including the ceiling area nor the floor area. We will use the following formula:
[tex]A=\text{ }(\text{rectangle perimeter)}\cdot\text{ height}[/tex]The rectangle perimeter is 2*(20m+15m)=70m. Substituting in the equation above we get:
[tex]A=\text{ 70m}\cdot8m=560m^2[/tex]Therefore, the amount of paint needed is
[tex]\frac{560}{40}\text{liters}=14\text{liters}[/tex]Answer: 14 liters.