A box is to be constructed from a sheet of cardboard that is 10 cm by 50 cm by cutting out squares of length x by x from each corner and bending up the sides. What is the maximum volume this box could have?