A cube is painted red on the top and bottom, black on the front and back, and blue on the left and right faces. It is then cut into 216 identical small cubes.
How many small cubes have only one face painted, and that face blue?
Given: n = 6.
Middle part of the two blue faces.
2 × (n − 2)² = 2 × 4² = 32.
Answer: 32