A square has a perimeter of 36 inches. What is the area?