We need to calculate the surface area of the lateral faces of the square pyramid without the base and the surface area of the rectangular prism without one face
for the lateral faces of the square pyramid
we need to calculate the slant height
then for the lateral area
then for the rectangular prism without the base
The total surface area that she needs to paint is