U substitution is a topic for integration, not differentiation. If you can show us your work, we will be more than happy to help point you in the right direction.
You may also want to check out this link, which covers product, quotient and chain rules for differentiation: Product Rule, Quotient Rule, and Chain Rule Tutorial
Just in case a picture helps...
... is the chain rule. Straight continuous lines differentiate downwards (integrate up) with respect to x, and the straight dashed line similarly but with respect to the dashed balloon expression (which is the inner function of the composite and hence subject to the chain rule).
Don't integrate - balloontegrate!
Balloon Calculus: Standard Integrals, Derivatives and Methods
Balloon Calculus Drawing with LaTeX and Asymptote!
We want Y` so
This makes it easy, all we need to do is differentiate P and Q seperately and then add them up!
Well Q` is fairly easy
I leave to you. But I would like to let you know that
This might make it easiar to apply quotient rule?