using Pythagorean theorem
a²+b²=c² where 'a'&'b' are legs of the right angle triangle and 'c' is the hypotenuse of the right angle triangle
here two legs are given (7,7) and x is the hypotenuse
=>a²+b²=c²
=>7²+7²=x²
=>x²=49+49
=>x²=98
=>√x²=√98
=>x=7√2
I hope it helps have a great day