It is just rearranged.
Factorise the expression that you got.
Careful... don't forget the chain rule.
i need to differenciate :
using product rule
i got to this stage :
but the answer stated in the textbook is
I think its the simplifying which i don't understand provided that the stage i got to is correct.
any help is appreichated.