Rational function/R/Determine derivative/x^2+x-1 over x^3-x+2/Exercise