for an isosceles right triangle the legs would be 2 times the square root of the hypotenuse
so for this:
the legs would be 2sqrt(10)