The figure below shows a rectangle or prism and a cube how many cubes are required to completely packed a prism without any gaps or overlaps

The figure below shows a rectangle or prism and a cube how many cubes are required to completely packed a prism without any gaps or overlaps class=