The rectangular bird sanctuary with one side along a straight river is to be constructed so that it contains 8 km2 of area. Find the dimen- sions of the rectangle to minimize the amount of fence necessary to enclose the remaining three sides.