Let x = length of the side of the fence that is parallel to the river and let y be the length of each of the other two sides.
x + 2y = 200, so x = 200 - 2y
Area = xy = (200-2y)(y)
= -2y2+200y
Maximum area when y = -200/(2(-2)) = 50 yards
x = 200 - 2y = 100 yards