Totally wrong I'm afraid (I have no idea what you did). This requires the product rule and the chain rule.

Let

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: