Pythagoras' theorem: find the hypotenuse