A box with a square base and no top is to be made from a square piece of cardboard by cutting 2 in. squares from each corner and folding up the sides. The box is to hold 10082 in3. How big a piece of cardboard is needed? The square piece of cardboard needs to be ______ inches on each side.