Source: https://mathematoques.weebly.com/uploads/1/2/0/3/12036729/ds01_configurations_milieux_distances_corrige_2nde_2011-12.pdf