Source: http://mathematiques.lmrl.lu/Exercices/Exercices_de_7e/Sesamath_5M1_Aires-perimetres_corrige.pdf