A cube is painted red on all its faces and then cut into 125 small cubes of the same size, as shown below. How many of the small cubes have exactly two faces painted?

Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → 36
125 small cubes means each edge of the big cube is cut into \(n=5\) parts, since \(5^3=125\). How many painted faces a small cube has depends on where it sits: corner cubes have 3, the other cubes along an edge have 2, the cubes in the middle of a face have 1, and the cubes inside have none. One face of the big cube is shown below with the number of painted faces of each small cube.

Each edge has \(n-2=3\) cubes between its two corners
The cube has 12 edges, so \(12\times3=36\) cubes
Why the other options are incorrect
Option (1) 54 — Incorrect. This is the number of cubes in the middle of the faces, which have one painted face.
Option (2) 8 — Incorrect. This is the number of corner cubes, which have three painted faces.
Option (4) 150 — Incorrect. This counts all 25 cubes on each of the 6 faces, so cubes on the edges are counted more than once.