A rancher has 2 comma 200 feet of fencing to enclose a rectangular pig pen.​ However, one side of the pen lies along a river and requires no fencing. Express the area of the​ pen, A, as a function of x.