solving polynomials by graphing and synthetic division