Four hundred eighty-six square inches of material are available to construct a closed rectangular box with a square base. Find the dimensions of the box that maximize the volume.
Let x be the side length of the square base and y be the length of a rectangular side that is not shared with the base. Identify the function? f(x,y) to be maximized and the constraint function? g(x,y).