Let x= the perpindicular sides total fence needed = 5x
the remaining LONG side of the fence (opposite the building) will then be 210 - 5x
the area will then be x (210-5x) = 210x -5x^2 = area
Take derivative and set to zero to find 'x' that makes biggest area:
210 -10x = 0 10x= 210 x= 21 5x = 105 Long side = 105
Total area will be 21 x 105 = 2205 sq ft and each area will be 551.25 sq ft
Sorry! Made a math error there!