Source: https://www.ac-grenoble.fr/disciplines/maths/pages/PM/Ressources/18/Partage_d_un_segment.pdf