find the derivative of f for the function(x)= x^3-4x+2

ƒ(x) = x³ - 4x + 2

ƒ'(x) = 3x² - 4