a rectangular garden with an area of 2112 square feet is to be located next to a barn with fencing on three sides and the barn acting as the fourth side.Write a function that gives the length of fencing needed if the length of the side parallel to the barn is x. Find the dimensions of the garden using the minimum amount of fence.