Regla de la cadena
Use this applet for self learning.
You can generate your own expressions, especially those you are doubtful about and see how the rule is applied.
The final expression may differ from manual working due to further simplifications or factorization which computer algebra system cannot master perfectly..