Differentiate term by term:
Let .
Apply the power rule: goes to
Then, apply the chain rule. Multiply by :
The derivative of sine is cosine:
The result of the chain rule is:
Let .
Apply the power rule: goes to
Then, apply the chain rule. Multiply by :
The derivative of cosine is negative sine:
The result of the chain rule is:
The result is:
Now simplify:
The answer is:
/ 3 3 2 2 \ 3*\- cos (x) - sin (x) + 2*cos (x)*sin(x) + 2*sin (x)*cos(x)/
/ 3 3 2 2 \ 3*\- 2*sin (x) + 2*cos (x) - 7*sin (x)*cos(x) + 7*cos (x)*sin(x)/