Since it has been a while, I think it is safe to put the full answer here.
The Rayleigh distribution has pdf $f_X(x) = \frac{x}{\sigma^2}\text{e}^{-x^2/(2\sigma^2)}$, for $x\ge 0$ with scale parameter $\sigma > 0$.
The cdf is $F_X(x) = 1 - \text{e}^{-x^2/(2\sigma^2)}$.
(a) Find $P(1< X <3)$. There are several direct approaches.
$$P(1< X <3) = \int_1^3 f_X(x)dx = F_X(3) - F_X(1)$$
(b) The first quartile is $q_{25} = F_X^{-1}(0.25)$. Alternatively, consider the first quartile to be the solution to $\int_0^{q_{25}} f_X(x)dx=0.25$. Similarly, $q_{50} = F_X^{-1}(0.5)$ for the median (see here), and let $q_{75}$ be the third quartile.
Let $q = q_p$ be the quantile of interest such that $q_p = F_X^{-1}(p)$. Start with the CDF & invert (solve for $q$)...
$$\begin{align}
1-\text{e}^{\frac{-q^2}{2\alpha^2}} &= p \\
\text{e}^{\frac{-q^2}{2\alpha^2}} &= 1-p \\
\frac{-q^2}{2\alpha^2} &= \text{ln}(1-p) \\
-q^2 &= 2\alpha^2 \text{ln}(1-p) \\
\\
q &=\alpha \sqrt{-2 \text{ln}(1-p)} \quad \quad \square
\end{align}$$
For the first quartile, set $p=0.25$, and so forth.