This stepped pyramid has been built by young children and their teacher using some of the building blocks in the classroom. (The blocks are all cubes of the same size.)
(a) How many blocks would be needed to build it?
(b) Now imagine that the children want to build a similar structure with twice as many layers. How many blocks would be needed?