A piece of cardboard measuring 12 inches by 11 inches is formed into an open-top box by cutting squares with side length x from each corner and folding up the sides.
a. Find a formula for the volume of the box in terms of x.
b. Find the value for x that will maximize the volume of the box.