A rectangular table has an area of 27 ft^2 and a perimeter of 24 ft. What are the dimensions of the table  by solving it involving quadratic formula?