Given,
The measure of edge of the cube is 4 cm.
The total number of cubes are 5.
Required
The volume of the soid.
The volume of the solid is calculated as,

Substituting the values then,

The volume of the solid is,

Hence, the volume of the solid is 320 cm^3.