Factoring Polynomials Using Greatest Common Factor