I just want to check another answer to see I am on the right track. I do not think I done this one correctly.
Totally wrong I'm afraid (I have no idea what you did). This requires the product rule and the chain rule.
The product rule:
Applying the chain rule here:
You will need to apply the chain rule to , which ends up being which is simply . Getting back to the whole derivative we will have: