A piece of wire 25 m long is cut into two pieces. One piece is bent into a square and the other is bent into a circle.
(a) How much of the wire should go to the square to maximize the total area enclosed by both figures?
(b) how much of the wire should go to the square to minimize the total area enclosed by both figures?