Answer: The answer is six cubes.
Step-by-step explanation: Given that the dimension of a rectangular solid is 6 cm × 6 cm × 6 cm. It is painted on all six faces and is cut into smaller cubes that measure 2 cm on each side. We are to calculate the number of cubes that have only one face painted.
The volume of the rectangular solid is given by

and the volume of each small cube is

Therefore, the number of small cubes that are made after cutting the solid will be

So, there will be 27 small cubes. On one face of the solid, there will be 9 small cubes, out of which only the middle one is painted on one face.
Since there are six faces, so number of cubes that have only one face painted = 1 × 6 = 6.
Thus, the answer is six.