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?