find the maximum area of a rectangle given a perimeter