It is also better to do this problem in pieces so thats how I am going to do it, hopefully you can follow what I did.
well I think the first thing we need to do is simplify that nasty cosine expression.
--> Using rule number 3 from above.
= --> using 4 and 5 from above.
= --> factoring out a 1/2
=
now we will call this u for simplicity sake(and I don't feel like typing this over and over again). Lets find u' now because I am sure we will be using it later.
u' = (d/dx)()--> By the chain rule
= --> Multiplying by 1/2
=
Now the origonal function rewritten with u inside of it is going to be:
y=
now lets take the derivative of y
y= --> Applying the chain rule
y' = --> apply the quotient rule
y' = --> plug in for you and du
y' =
from here its a bunch of algebra to get your answer reduced but all the calculus is done.