I've been trying to compute the following integral, but I havent been able to. Mathematica gives me an answer, but I would like to know how to get to that answer. For reference, this is the CDF of first time passage of a brownian motion with drift.
$$\int_0^t\frac{1}{\sqrt{x^3}} e^{-\frac{(a-bx)^2}{2x}} dx$$
The answer according to Mathematica is:
$$ \sqrt{\frac{\pi}{2}} \frac{1}{a} \operatorname{erfc}\left(\frac{a - bt}{\sqrt{2t}}\right) + \sqrt{\frac{\pi}{2}} \frac{1}{a} e^{2ab}\operatorname{erfc}\left(\frac{a + bt}{\sqrt{2t}}\right) $$
where $\operatorname{erfc}$ is the complementary error function. I've been trying to solve this for weeks, without any success.
Here's a link to a similar question, but the integrals are from $0$ to $\infty$ which helps, but doesn't lead to an answer.
Hints would be useful as well, since I want to be able to solve this integral.