f(x)=x^3-2x+4
=(x+1)^3-3x^2-3x-1-2x+4
=(x+1)^3-3x^2-5x+3
=(x+1)^3-3(x+1)^2+6x+3-5x+3
=(x+1)^3-3(x+1)^2+x+6
=(x+1)^3-3(x+1)^2+(x+1)+5
f(x)=x^3-2x+4
=(x+1)^3-3x^2-3x-1-2x+4
=(x+1)^3-3x^2-5x+3
=(x+1)^3-3(x+1)^2+6x+3-5x+3
=(x+1)^3-3(x+1)^2+x+6
=(x+1)^3-3(x+1)^2+(x+1)+5