a farmer wants to fence her rectangular field and create 3 separate pens. the horizontal fencing (length) cost $26 per foot. the vertical fencing (width) cost $12 per foot. the area of the total lot with all three pens is 5000 square feet. find the dimensions of the fencing that will minimize the cost of the fence.