Source: https://www.lyceedadultes.fr/sitepedagogique/documents/math/math2S/04_fonctions_lineaire_affine/04_exos_fctn_res_graph_fctn_affine.pdf