The function f(x)=-(x-3)^2 +9 can be used to represent the area of a rectangle with the perimeter of 12 units, as a function of the length of the rectangle, x. What is the maximum area of the rectangle?