With width x the length is 80−x (half the perimeter minus the width), so A=x(80−x)=80x−x2. Since a=−1<0 it opens downward, so the maximum is at the vertex.
x=−2(−1)80=40,A=40(80−40)=40⋅40=1600
The greatest area is 1600 square metres, from a 40 by 40 square.