Use cubes to build a rectangular prism. The base is 2 cubes by 4 cubes and 2 layers high. How many cubes are needed to make the prism? A. 16 B. 12 C. 8 D. 6