An open box is made from a ​30-cm by 60​-cm piece of tin by cutting a square from each corner and folding up the edges. The area of the resulting base is 1144 cm2. What is the length of the sides of the​ squares?