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