For g(x), I'm taking that to be Let u = and let So g(x) can now be written as Now taking the derivative, you get . Now back substitute everything in. Does this method make sense? It can be a lot to take in.
For r(x) and k(x), just use the quotient rule.
All of the questions use the powerful CHAIN RULE. Make sure to learn that solidly.