Well, it's actually just an error in differentiating:

The first one was an exponential, so we used the chain rule, but notice that this is a product, so we must use the product rule:

Now we do the division:

Which gives:

And there is the right answer.