Source: http://mathematiques.daval.free.fr/IMG/pdf/6_C16_Perimetres.pdf