examples of polynomials problem solving