A right triangle is governed by the Pythagorean Theorem a2 + b2 = c2, where c is the hypotenuse and a/b are the legs.
If you replace a and b with the respective lengths you get:
72 + 102 = c2
or
49 + 100 = c2
That makes...
c2 = 149
and
c = √149 ≈ 12.21