Polynomial Division Solver (using synthetic division)