A rectangular field is to be enclosed on four sides with a fence. Fencing costs 5 per foot for two opposite sides, and6 per foot for the other two sides. Find the dimensions of the field of area 71.