Let $X = (X_{t})_{t \geqslant 0}$ be a stochastic process with independent increments. $X$ is continuous and $\mathbb{E}X_{t} = 1$, $Var X_t = e^t -1$, $t \geqslant 0$. Let $\tau = \inf\{t \geqslant 0 : X_t = 3$ or $X_t = 0\}$.
a) Find a function $f: \mathbb{R_{+}} \rightarrow \mathbb{R}$ such that the process $((X_t -1)^2 - f(t))_{t \geqslant 0}$ is a martingale.
b) Show that $\tau < \infty$ and find the distribution of $X_\tau$
c) Calculate $\mathbb{E}e^\tau$.
I managed to do a) ! :) It's just $f(x) = e^{x}$ and I found it by checking the condition $\mathbb{E}((X_t -1)^2 - f(t)|\mathcal{F}_s) = (X_s - 1)^2 - f(s)$.
Although I don't have any ideas on b) and c).
Hints: