The area of a square is the length of a side squared, so the length of the side is the square root of the area.
So the length of the side in this problem is square root (40000) = 200 feet.
The two sides of a square and the diagonal form a right triangle.
We use the Pythagorean Theorem to find the length of the diagonal = sqrt (200^2 + 200^2) = 282.84 feet.