we must calculate two volume and add
The volume of the figure results from finding the area of the triangle and multiplying it by the width of the figure
so

the first area is 54cubic meters
The volume of the figure results from finding the area of the square and multiplying it by the width of the figure
so

The second area is 144 cubic meters
The total volume is

the total volume is 198 cubic meters