Kay Thompson

Problem reads:

A rancher has 20 miles of fencing to fence a rectangular piece of grazing land along a straight river. If no fence is required along the river and the sides perpendicular to the river are x miles long, find a formula for the area A(x) of the rectangle in terms of x. From practical considerations, what is the domain of the function A?

Thanks again!