Of all rectangles with a fixed perimeter of P, which one has the maximum area?

Of all rectangles with a fixed perimeter of P, which one has the maximum area?
(Give the dimensions in terms of P.)