Pythagoras' theorem part 4