Basically the rule is
e^ln.x = x
So if you see e to the power of ln something then then ln cancels out the e and you're left with the number in the power.
eg. e^ln3 = 3, etc.
I just took it by looking at the answer that the "derivate of the power" goes out infront of the rest ie that's where I thought the 3 came from.
Yes thanks FishSauce you did get the right answer.