I wanted to resolve this problem : $$ f(x) = 3 x^2 - 5 x - 2 $$
to a derivative, and I did it like this :

$ \begin{align} f(x) &= x^3-5x-2 \\ f'(x) &= 3x^2-5-2 \\ &= 3x^2-7 \end{align} $
but once I checked the correction, I found this: $$ f'(x) = 3 x^2 - 5 $$
And I really don't know how they manage to get $3x^2 -5$ instead of $3x^2-7$.
Thanks for you time