Question 24Small cubes form a solid large cube, a square layer, a stick, and one separate cube, as shown. There are no empty spaces inside the large cube. How many small cubes are there altogether?