Pythagoras' theorem part 3