How to solve in division of polynomials