Source: https://www.lavc.edu/math/library/math113_114_115/Worksheets/quadeqnsfact.pdf