Source: https://site.math.free.fr/terminale_stg/cours_terminale_stt_m/proportions.pdf