An open box is to be constructed from a piece of cardboard 20 cm by 40 cm by cutting squares of side length x from each corner and folding up the sides.

What are the minimum and maximum values that are possible for x? Explain how you know. ​