f(x) =x^2+3x+1