A landscape architect wished to enclose a rectangular garden on one side by a brick wall costing $30/ft and on the other three sides by a metal fence costing $20/ft. If the area of the garden is 8 square feet, find the dimensions of the garden that minimize the cost.

Length of side with bricks: x=_______________ ft.
Length of adjacent side: y= _____________________ ft.