Use the chain rule twice here.
what do you get?
Where am I making errors? I am unsure if I am understanding the chain rule properly for trig functions.
My understanding is that you take the derivative of the outside function multiplied by the inside function and multiplied by the derivative of the inside function.