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?