By staring at the images, I hope you would agree that we can start with a building block that has any number of layers and that following the same construction we would end up with a cuboid that is n blocks high, n+1 cubes wide and 2n+1 cubes long and contains6 our of building blocks.