For this case, what we must do is find the surface area of the cube.
By definition, the surface area of a cube is given by:

Where,
L: length of the sides of the cube.
Substituting values we have:
Answer:
The total surface area that will be painted is:
24 cm²