You need to construct an open-top rectangular box with a square base that must hold a volume of exactly 800 cm3. The material fo
r the base of the box costs 5 cents/cm2 and the material for the sides of the box costs 7 cents/cm2. Find the dimensions for a box that will minimize the cost of the materials used to construct box.