A piece of wire 30 m long is cut into two pieces. One piece is bent into a square and the other is bent into an equilateral triangle. (Give your answers correct to two decimal places.)

a) How much wire should be used for the square in order to maximize the total area?
(b) How much wire should be used for the square in order to minimize the total area?