Determine the derivative of $(f\circ g)(x)$ where $f(x)=2\,x-x^2$ and $g(x)=x^2-x+2$.

Lesson Parent: 
Problem: 

Determine the derivative of $(f\circ g)(x)$ where $f(x)=2\,x-x^2$ and $g(x)=x^2-x+2$.

Answer: 

$(f\circ g)'(x)=f'(g(x))\,g'(x)=-4\,x^3+6\,x^2-6\,x+2$