To differentiate this you have to use a combination of the product rule and the chain rule. Start with the term, and work left to right.

Product rule:

Did that make sense? Now the next term

Do you see how I applied the chain rule to find ?

So after differentiating the entire equation , we should have:

Now just solve for . It's just algebra from here.