If , then
We should know that and
We need to apply the chain rule as well :
Does this stuff seem to make more sense now?
Feel free to ask more questions if you have them. I may not be on for much longer. There are others besides me who can answer your questions.