Inflection points

Looking at the first and second derivative of a polynomial in x.