A contractor is to build a brick wall 6 feet high to enclose a rectangular garden. Only three sides of the garden need to be enclosed because the fourth side is a building. The owner wants to enclose the maximum area but will only pay for 152 feet of wall.

What dimensions should the contractor make the garden?