please help with the question below (also please add an explanation)

To find the volume of the given figure, we have to find the volumes of the 2 prisms that compose it.
For the rectangular prism, find the area of the base and then multiply it by the height:
[tex]\begin{gathered} B=3m\cdot6m=18m^2 \\ V=18m^2\cdot5m=90m^3 \end{gathered}[/tex]For the triangular prism, find the area of the triangular base and then multiply it by the height:
[tex]\begin{gathered} B=\frac{6m\cdot3m}{2}=9m^2 \\ V=9m^2\cdot5m=45m^3 \end{gathered}[/tex]Finally, find the sum of both volumes to find the volume of the figure:
[tex]V=90m^3+45m^3=135m^3[/tex]It means that the volume of the figure is 135 m^3.