I need help on how to factor a polynomial by grouping