Apply the product rule:
; to find :
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:
; to find :
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:
30 21 / 2 2 2 / 2 2 \ 2 / 2 2 \\ cos (x)*sin (x)*\- 1472*cos (x)*sin (x) - 23*cos (x)*\sin (x) - 22*cos (x)/ + 32*sin (x)*\- cos (x) + 31*sin (x)//
29 20 / 4 / 2 2 \ 4 / 2 2 \ 2 2 / 2 2 \ 2 2 / 2 2 \\ cos (x)*sin (x)*\- 64*sin (x)*\- 47*cos (x) + 465*sin (x)/ - 23*cos (x)*\- 462*cos (x) + 67*sin (x)/ + 2208*cos (x)*sin (x)*\sin (x) - 22*cos (x)/ + 2208*cos (x)*sin (x)*\- cos (x) + 31*sin (x)//