This is an example of how to use the chain rule of differentiation.

Introductory maths for higher education