The volume of the whole object is 12.
If you split the object in two, the top rectangle and the bottom, then you can calculate both the volumes and add them together. The top part is 1*2*2=4, the bottom is 4*2*1=8, 8+4=12.
Ps. The star (*) is a multiplication symbol.