Source: https://etab.ac-poitiers.fr/coll-vivonne/IMG/pdf/esxercices_2_3_pythagore_au_brevet.pdf