An open box is to be constructed from a rectangular sheet of cardboard 8 feet wide by cutting out a 2​-foot square from each corner and folding up the sides. The volume of the box is to be 72 cubic feet. What is the length of the​ rectangle?