Exercise 9B - Pythagoras' Theorem