Let $X_1$ and $X_2$ be independent random variables continuously uniformly distributed on $[−1, 1]$ and $[0, 5]$, respectively.
Determine, with intermediate steps, the density of $X_1 + X_2$. To do this, use the convolution formula.
$$$$
I have done the following :
Let $Z=X+Y$. Then \begin{align*}\int f_Z(z)\,dz&=P(\{X+Y=z\})\\ & =P(\{X=t,Y=z−t\})\\ & =P(\{X=t\})\cdot P(\{Y=z−t\})\\ & =\int f_X(t)\, dt\cdot \int f_Y(z-t)\, dt\end{align*}
Is that correct so far ?
$$$$
EDIT :
Using the formula of convolution, do we have the following ? \begin{align*}f_{X_1+X_2}&=\int_{\mathbb{R}}f_{X_1}(t)f_{X_2}(z-t)\, dt\\ &=\int_{-\infty}^{-1}f_{X_1}(t)f_{X_2}(z-t)\, dt+\int_{-1}^1f_{X_1}(t)f_{X_2}(z-t)\, dt+\int_{1}^{+\infty}f_{X_1}(t)f_{X_2}(z-t)\, dt\\ &=\int_{-\infty}^{-1}0\cdot f_{X_2}(z-t)\, dt+\int_{-1}^1f_{X_1}(t)f_{X_2}(z-t)\, dt+\int_{1}^{+\infty}0\cdot f_{X_2}(z-t)\, dt\\ &=\int_{-1}^1f_{X_1}(t)f_{X_2}(z-t)\, dt\\ &=\int_{-1}^1\frac{1}{2}f_{X_2}(z-t)\, dt\\ &=\frac{1}{2}\cdot \int_{-1}^1f_{X_2}(z-t)\, dt\end{align*} Then we have that $f_{X_2}(z-t)=\frac{1}{5}$ if $z-t\in [0,5]$ and otherwise $0$, or not?

We have $~X \sim U(-1, 1)$ and $Y \sim U(0, 5)$.
For distribution of $Z = X + Y, ~F_Z(z) = P(Y \lt z - x)$
Now as we must have $0 \lt y \lt z - x \lt 5$,
$(i)$ for $- 1 \lt z \lt 1, - 1 \lt x \lt z $
$(ii)$ For $1 \lt z \lt 4, -1 \lt x \lt 1$
$(iii)$ For $4 \lt z \lt 6$,
if $~-1 \lt x \lt z-5, 0 \lt y \lt 5$
if $~z - 5 \lt x \lt 1, 0 \lt y \lt z - x$
Please see the below diagram to understand better. Blue line is the upper bound of $z$ in $(i)$, the red line corresponds to upper bound of $z$ in $(ii)$ and the green line is the upper bound of $z$ in $(iii)$