The polynomial x^2-18x+81 represents the area(in square feet) of a square courtyard. Write an expression for the perimeter of the courtyard.