Use the chain rule:
We have
so we get
Alternatively, you can substitute u in the definition of y and differentiate with respect to x :
6.5m questions
8.7m answers