Source: https://mathis100.weebly.com/uploads/1/2/7/1/127157551/factoring_polynomial.pdf