TeX source:
\begin{aligned} &\int_{1}^{3} \mathrm{x}-1 \mathrm{dx}=\mathrm{F}(3)-\mathrm{F}(1)=\left(\frac{9}{2}-3\right)-\left(\frac{1}{2}-1\right)=2 \end{aligned}