Find the dimensions of the rectangle whose perimeter is 36m and which is such that the square of the length of the diagonal is 170m2.

and that the square of the length of the diagonal is 170m2, and so
x2+y2=170,by Pythagoras’ theorem.
Rearranging equation (1), we find that y=18−x, and so equation (2) becomes x2+(18−x)2=170,
Therefore the dimensions of the rectangle are 7m by 11m.
This applet might help you visualise how the square on the diagonal varies with x.
The red rectangle has perimeter 36.
When does the area of the square have its minimum value?
Notice how the two solutions for x and y are symmetrical.