A candy box is made from a piece of cardboard that measures 12 by 12 inches. Squares of equal size will be out out of each corner. The sides will then be folded up to form a rectangular box. What size square should be cut from each corner to obtain maximum volume? A square with a side of length inches should be cut away from each corner to obtain maximum volume.