Divide polynomials using synthetic division