Chain rule problem

Question

Hints

Answer