The solid shown consists of three stacked cubes of edge lengths 1 cm, 2 cm and 3 cm. What is the total volume of the solid?
\(\phantom{surface area of the figure}\)
The total volume is 40.