Source: https://www.uwsuper.edu/acaddept/mathcsci/documentation/upload/solving_equations.pdf