An open box with a volume of 1500 cm cube is to be constructed by taking a piece of cardboard 20 cm by 40 cm, cutting squares of side length x cm from each corner, and folding up the sides. Find the exact dimensions of the box.