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:
[tex]\text{Volume}_{rec\tan gular\text{ part}}=\text{Base}\cdot\text{Height}\cdot Width=15m\cdot5m\cdot7m=525m^3[/tex]Now, we need to consider the attic as a triangular part, so we need to apply the triangular prism volume formula:
[tex]\text{Volume}_{\text{attic}}=\frac{1}{2}\text{Base}\cdot\text{Height}\cdot Width=\frac{1}{2}\cdot15m\cdot8m\cdot7m=420m^3[/tex]The total volume is 525+420 = 945m^3