how to solve a factoring polinomial?