A rectangle has a perimeter of 20 ft. Find a function that models its area A in terms of the length x of one of its sides.

Since the perimeter is 2(x+y)=20, we have y = 10-x

so the area
A = x(10-x)