A wire of length 6 is cut into two pieces which are then bent into the shape of a circle of radius and a square of side . Then the total area enclosed by the circle and square is the following function of and

If we solve for in terms of , we can reexpress this area as the following function of alone:

Thus we find that to obtain maximal area we should let
To obtain minimal area we should let

You can earn partial credit on this problem.