Source: https://www.sunysuffolk.edu/explore-academics/faculty-and-staff/faculty-websites/jean-nicolas-pestieau/mat111/MAT111_graphs_of_lines.pdf