This period I am learning Brownian motion and I am struggling with this question:
Suppose that $X=(X_t,t\geq 0)$ is a Brownian Motion BM($\mu$,$\sigma^2$) with $\mu=0.2$ and $\sigma=1$ $(X_0=0)$. We define $\tau=inf\{t\geq0: X_t=1.2 \quad or \quad -1\}$ as the random time when $X_t$ is equal to $1.2$ or $-1$ for the first time.Find the probability density function of $\tau$.
I have read the answers of this question but I still can't find the answer. Can anyone help me?
Thanks in advance!