To calculate the volume, we can divide this figure into three shapes. Three rectangular prisms, like the following image
The volume of a rectangular prism is given by the product between its 3 different dimensions, width, length and height. The green prism is the easiest to see the its dimensions, it has a width equals to 3, a length equals to 3 and a height equal to 1/2, therefore, its volume is
Since the width of the green prism is 3 and the red prism is 1 1/2 apart from the corner of the green prism, the width of the red prism is the difference between those values.
The length and the height of the red prism are also easy to see on the image, both of those values are 1, which means the volume of the red prism is
Finally, the last prism is the blue prism. The height of the green prism and the blue prism combined is equal to 3/4. Since the height of the green prism is 1/2, the height of the blue prism is
The length of the red prism and the blue prism combined is equal to 3, since the length of the red prism is 1, the length of the blue prism is
The width of the blue prism is given, it is equal to 1. With those dimensions, we can finally calculate the volume of the blue prism.
The total volume of the compound shape is the sum of all those volumes we calculated.