Hi, I'm having a problem reconciling my solution with the book I'm working from.

The question is:

Calculate the derivative of:

using the chain rule I get as far as

From here I would multiply each term inside the bracket by the fraction outside and get two terms to add together. BUT the book I'm using states that the above equation:

Giving a final answer of:

But I can't for the life of me see how the author got that. Surely multiplying the two terms in the chain rule will give the sum of two fractions!?!??! If someone could tell me where I'm going wrong I would appreciate it.

May thanks.