The six faces of a cube are painted black. The cube is then cut into $5^3 = 125$ smaller cubes, all the same size. How many of the smaller cubes have exactly one black face?

Cubes that have exactly 1 black face would be 6 * 3 * 3 = 54

Correct! Thank you!!!

no problem