A box without a lid is formed by taking a piece of cardboard that is 40 inches by 20 inches, cutting out square pieces from the four corners, and then bending up the sides to form a box.
A. Find an expression for the volume of the box in terms of the side length x of the cut-out squares.
B. Find the value of x that yields maximum volume