The correct option is C 60
The cubes lying on the edge of the bigger cube except the corner most cubes will have 2 faces painted on two sides.
Thus, the cube cut into 125 small cubes will have 36 such cubes. This is because each edge will have 3 such cubes with two faces painted and since there are 12 edges, total number of cubes will be 36
the cube cut into 64 small cubes will have 24 such cubes. This is because each edge will have 2 such cubes with two faces painted and since there are 12 edges, total number of cubes will be 24
Thus, total number of cubes with two faces painted will be 60.