A cuboid of size 4 cm × 5 cm × 2 cm is painted red on all faces and then cut into 1 cm cubes. How many of these cubes have exactly two faces painted?
Given: 4 × 5 × 2 = 40 small cubes.
Two faces: edge cubes without corners.
4 × [(4 − 2) + (5 − 2) + (2 − 2)] = 4 × 5 = 20.
Answer: 20