Small squares with sides 4 cm were cut from each of the corners of a square piece of cardboard. Then it was folded into an open-top box. Find the original dimensions of the square piece of cardboard if the volume of this box is 144 cm3.