A rectangular field is to be fenced on three sides, with the side along a straight river left unfenced. If 120 meters of fencing are available and the side parallel to the river has length x meters, which value of x maximizes the area of the field?
a) 30
b) 60
c) 40
d) 50