Squares of side x are cut from each corner of a 9 inches by 6 inches rectangle so that its sides can be folded to make a box with no top. Define a function in terms of x that can represent the volume of this box.