My question is at the end of the problem statement.
Solve the following stochastic differential equation.
$dX_t = (\beta - \alpha X_t)dt + \sigma dB_t$, $X_0 = x_0$
where $\alpha$, $\beta$, $\sigma$ are constants, and $\alpha > 0$, and $B$ denotes a one-dimensional standard Brownian motion.
The answer is:
$Y_t = e^{\alpha t}X_t$. The Itô fomula appled to Y then gives us that:
$dY_t = \alpha e^{\alpha t}X_t dt + e^{\alpha t}dX_t = e^{\alpha t}\beta dt + e^{\alpha t}\sigma dB_t$
Integrating we obtain
$Y_t = Y_0 + \int_0^t e^{a(t-s)}\beta ds + \int_0^t e^{-\alpha (t-s)}\sigma dB_s$
or
$X_t = e^{-\alpha t}x_0 + \frac{\beta}{\alpha}(1-e^{\alpha t}) + \int_0^t e^{-a (t-s)\sigma}dB_s)$
So The question is how do we know that we should use:
$Y_t = e^{\alpha t}X_t$