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