A 140 in. piece of wire is divided into two pieces and each piece is bent into a square. How should this be done in order to minimize the sum of the areas of the two squares?
(a) Express the sum of the areas of the squares in terms of the lengths x (smaller piece) and y (larger piece).
(b) What is the constraint equation relating x and y?
(c) Does this problem require optimization over an open or closed interval?
(d) Solve the optimization problem.