Right-angled triangles and the Pythagorean Theorem