It's the chain rule that you're talking about.
When taking the derivative of a composite function, you just sort of work your way from the outermost function to the innermost function, taking one derivative at a time and leaving the rest the same... and you end up with a product.    
Here's an example:   f(x) = sec^5(5x^3 + 2x^2 +3x)
I would have my students re-write the trig function with the exponent on the outside, rather than the shortcut style of writing it which is generally used.  
So, that means,
f(x) = [sec (5x^3 + 2x^2 +3x)]^5
The outermost function is (function ^ 5)
The next inner function is secant (another function)
Then, the innermost function is 5x^3 + 2x^2 +3x
So, first you use the exponent rule
5 * (something) ^4 times the derivative of what's inside
That something stays the same at this point, so it would be
5 * [sec(5x^3 + 2x^2 +3x)]^4 times the derivative of what's inside
Then you multiply by the derivative of the next inner function - derivative of secant.
So, it becomes 5 * [sec(5x^3 + 2x^2 +3x)] ^4 TIMES sec(5x^3 + 2x^2 +3x)tan(5x^3 + 2x^2 +3x) Times the derivative of what's inside
This then becomes 5 * [sec(5x^3 + 2x^2 +3x)] ^4 TIMES sec(5x^3 + 2x^2 +3x)tan(5x^3 + 2x^2 +3x) TIMES (15x^2 +4x)
If you wish to work inside again, the next innermost function is x.  The derivative of x with respect to x (aka dx/dx) is 1
I hope it helps... it's a lot easier to teach in front of someone when you have a blackboard or a piece of paper.
<--- Friday's lesson plan:  chain rule.