f(x) = x^2+2x-4 --> df(x)/dx = 2x+2