Volume a rectangular box with a square base is to be formed from a square piece of metal with 12-inch sides.
If a square piece with side x is cut from each corner of the metal and the sides are folded up to form an open box, the volume of the box is
V = (12 - 2x)2x.
What value of x will maximize the volume of the box?