How do you differentiate y = sin (x^2+2)y=sin(x2+2) using the chain rule?