I came across this problem in my textbook:

I am a bit confused with it though because I thought the rule for this type of problem was:
If the above rule is true, shouldn't the differentiation process look like this:

Where is that random $2x$ coming from in the numerator?

Chain Rule. :) I think that should answer your ponders. – night owl Jun 23 '11 at 9:05