How can I get from the first image to the second image? I've tried various ways but how does the exponential end up with a negative in front of it?

![2]](https://i.stack.imgur.com/rKHZ7.jpg)
How can I get from the first image to the second image? I've tried various ways but how does the exponential end up with a negative in front of it?

![2]](https://i.stack.imgur.com/rKHZ7.jpg)
HINT: multiply numerator and denominator by $$e^{-2\sqrt{Cg}t}$$