This is just a messy example of the quotient rule and the chain rule.
Some of my students taught me this little mnemonic for the quotient rule:
downsie d upsie minus upsie d downsie divided by downsie squared.
I think you should be able to do this problem now.