Source: https://www.xm1math.net/textes/seconde/exo_configurations.pdf