You need to find the volume of extra space. The space has the shape of a right rectangular prism.
The formula for the volume of a right rectangular prism is

Where A is the floor area and h is the height of the ceiling
If Maggie puts a 7 ft ceiling then the volume of the space will be

But if she puts an 8 ft ceiling instead, the volume will be

Then the extra space she will have to heat and cool will be

Maggie will have to heat and cool 3000 ft³ more of space if she puts an 8 ft. ceiling