The figure below shows a rectangular prism and a cube:
How many such cubes are required to completely pack the prism without any gap or overlap?
