What is it that you get? Without seeing your work, I can't say where you are going wrong.
There's a lot of chain rules to bear in mind. Just try to keep track of them all, making sure that you cancel and simplify at each stage. It should make sense after that.
If not, just write the first stage down and try to do it all yourself.
In doing what particularly are you struggling?