An open box of maximum volume is to be made from a square piece of material 24 cm on a side by cutting equal squares from the corners and turning up the sides (see figure).

a. Write volume V as a function of x, the length of the corner squares.







b. What is the domain of the function?