You can
put this solution on YOUR website!The diagonal of a square defines two congruent right triangles.
The diagonal is the hypotenuse.
The Pythagorean Theorem teaches us:
.

.
With a square, a=b so we have
.

.

.
We are told perimeter = 20, which for a square = 4*a
.

.
Substitute a=5
.

.
Check this proposed answer to make sure it is correct.
.

??
.

.

.
Correct.