Hello

I have a function:

If I differentiate using the quotient rule, then:

let u = e^x and let v = x

But could I not express as a product ie

And then use the product rule,

Which is a different result! Why so? Or have I done it wrong?