Austin is creating a rectangular garden. The area of the garden will be 180 square feet, with a perimeter of 54 feet. When Austin gets to the hardware store to purchase wood to fence in the garden, he realizes he forgot the dimensions. What are the dimensions of the garden, in feet?