Source: https://www.palmbeachstate.edu/prepmathlw/Documents/factoringbygrouping.pdf