Source: http://maths.ecole.free.fr/s4ma4fra/409-2_exercices_fonctions_affines.pdf