An open box with a square base is constructed from a square piece of cardboard 24 inches on a side by cutting out a square from each corner of the cardboard and turning up the sides. express the volume V as a function of the length x of the side of the square cut from each corner.