How is the hypotenuse the longest side of any right triangle?
Let $a$ be the hypotenuse and $b,c$ the others sides, then by Pythagorean Theorem $$a^2=b^2+c^2.$$ Then $$a^2>b^2,\quad a^2>c^2.$$ Therefore $$a>b\quad a>c.$$
Let $a$ be the hypotenuse and $b,c$ the others sides, then by Pythagorean Theorem $$a^2=b^2+c^2.$$ Then $$a^2>b^2,\quad a^2>c^2.$$ Therefore $$a>b\quad a>c.$$