The prism consists of small cubes. Each side of the small cube is 1 unit. Recall, the formula for detemining the volume of a cube is expressed as
volume = s^3
where s represents the length of each side of the cube.
This means that the volume of ach small cube is 1^3 = 1 cubic unit
If we count the number of small cubes in the prism, we would find that there are 54. If each cube is 1 unit cube, then 54 cubes would be 54 x 1 = 54 unit cube
Volume of prism = 54 cubic units