A fence is to be built to enclose a rectangular area of 320 square feet. The fence along three sides is to be made of material that costs 4 dollars per foot, and the material for the fourth side costs 13 dollars per foot. Find the dimensions of the enclosure that is most economical to construct.