length of 1 side of the the square
= (40+10)/2
= 25
perimeter = 25*4 = 100ft
note: the area of the rectangle = 10*40 = 400sqft
the area of the square = 25*25 = 625sqft
so if you have a certain length of rope, the largest
area you can fence up is actually a circle