Source: https://www.meilleurenmaths.com/images/misyl/terminaleS/ProgrammeOfficiel/specialite/Equations-type-ax-by-c-cours.pdf