Four identical cubes are glued together,
The area of (4- 1)*2=6 faces is reduced.
So the area of each face of the original cube is:
54/6=9 square centimeters
It turns out that the side length of the cube is 3 cm.
The volume of the original cube is 9*3=27 cubic centimeters.