A pizza box with a square base is to be made from a rectangular sheet of cardboard by cutting six 1-inch squares from the corners and the middle sections and folding up the sides (see the figure). If the area of the base is to be 144 in^2, what size piece of cardboard should be used?
shorter side in
longer side in