EXPLANATION
Let's see the facts about the house:
Base=15 m
Height = 5m
Width=7m
Considering the first part of the house as a rectangular one, the volume is:

Now, we need to consider the attic as a triangular part, so we need to apply the triangular prism volume formula:

The total volume is 525+420 = 945m^3