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