What is the volume of each solid figure made of 1-inch cubes? What is the correct unit of measure?

Answer:
a is 12 inches cubed because there are four hidden blocks
b is 9 inches cubed because you can see there are 9 cubes