How do you find the dimensions and maximum area of a rectangle whose perimeter is 24 inches?