# How do you differentiate  y= -2( x^2 + 1 )^2 using the chain rule?

I found: $y ' = - 8 x \left({x}^{2} + 1\right)$
y'=-2*color(blue)(2(x^2+1)^(2-1)) 2*color(red)(2x)=-8x(x^2+1)