Answer: The sides are 16 m and 12 m.
Let the side of the bigger square be \(x\) m and the side of the smaller square be \(y\) m.
The difference between the perimeters is 16 m: \(4x - 4y = 16\)
\(\therefore x - y = 4\), \(\therefore x = y + 4\) ......... (I)
The sum of the areas is 400 sq.m: \(x^2 + y^2 = 400\) ......... (II)
Putting (I) in (II): \((y + 4)^2 + y^2 = 400\)
\(\therefore 2y^2 + 8y + 16 - 400 = 0\)
\(\therefore y^2 + 4y - 192 = 0\)
\(\therefore (y + 16)(y - 12) = 0\)
\(\therefore y = -16\) or \(y = 12\)
The side of a square cannot be negative, so \(y = 12\).
From (I): \(x = 12 + 4 = 16\)
Check: \(16^2 + 12^2 = 256 + 144 = 400\) and \(4(16) - 4(12) = 16\).