we know that
the area of the complete square is equal to

where
b is the length side of the square

so

m²
the area of one corner is equal to the area of a triangle

so
the area of
corners is equal to

the area A of the resulting figure as a function of x is equal to
area of the square minus the area of
corners
m²
the answer is
m²