I think this website explains it better than I can.......He gives lots of examples with several types of functions - some easy, some more difficult and some that are "out there." (Take heart, you probably won't be seeing the "out there" ones very often )
http://tutorial.math.lamar.edu/Classes/CalcI/ChainRule.aspx
I hope this helps........