Could someone assist with this, please? The task is to differentiate the following equation

by the chain rule, differentiation should be for e, so to me that means

or

unfortunately, my book would disagree with me. According to it, the answer before simplification is

Can someone please explain to me where the plus and everything after it came from?