Circle and square problem

Topic:
Circle, Square
A piece of wire 15 cm is cut into two; one part makes the perimeter of a square, the other makes the perimeter of a circle. Where should the wire be cut to make the most area? Where should it be cut to make the smallest area? Can you find a quadratic function for the total area?