You have a cuboid that is 2 cubes tall, 4 cubes wide and has a length of 4 cubes.
Split the length into 4 slices, with each slice being just 1 cube thick.
Each slice is also 2 cubes tall and 4 cubes wide, so in each slice there are 2*4 = 8 cubes
Since there are 4 slices in total, then there are 4 * 8 = 32 cubes in total.
Answer: Volume of cuboid is 32 cubes