You can put this solution on YOUR website! The diagonal forms a triangle with two of the sides.
You can either use the rules for a 45-45-90 triangle (which this will create) or you can use the Pythagorean theorem (where the rules for the 45-45-90 triangle comes from).
So Pythagorean theorem is but in this case a=b since all the sides of a square are the same. So we have which is
Which is the rule for a 45-45-90 triangle. If the two sides are x then the hypotenuse is
So we have So the answer will be around 19.09