Let's assume that $X_1,X_2$ are independent and both obey the same exponential distribution \begin{align*} &\rho(x)=\begin{cases} \lambda e^{-\lambda x},& \text{ if } x\geq 0\\ 0, & \text{ if } x<0, \end{cases} \end{align*} where $\lambda >0$. Find the density function and the distribution function of $Y:=X_1+X_2$.
My approach:
Let be $0\leq z$ then \begin{align*} &P(X_1+X_2\leq z)=P(x_1\geq 0,0\leq x_2\leq z-x_1)=\int\limits_{0}^{\infty}\int\limits_0^{z-x_1}\rho_{x_1}(x_1)\rho_{x_2}(x_2)~\!dx_2~dx_1\\ &\underset{\text{substitution}}{=}\int\limits_{x_1}^{z}\int\limits_{0}^{\infty}\rho_{x_1}(x_1)\rho_{x_2}(x_2-x_1)~\!dx_1dx_2. \end{align*} If we take the definition of the exponential density function into account, we get \begin{align*} &\int\limits_{x_1}^{z}\int\limits_{0}^{\infty}\rho_{x_1}(x_1)\rho_{x_2}(x_2-x_1)~\!dx_1~dx_2=\int\limits_{x_1}^{z}\int\limits_{0}^{x_2}\rho_{x_1}(x_1)\rho_{x_2}(x_2-x_1)~\!dx_1~dx_2\\ &=\int\limits_{x_1}^{z}\int\limits_{0}^{x_2}\lambda^2e^{-\lambda x_1}e^{-\lambda(x_2-x_1)}~\!dx_1~dx_2=\int\limits_{x_1}^{z}\int\limits_{0}^{x_2}\lambda^2e^{-\lambda x_2}~\!dx_1~dx_2 \end{align*} At this point I don't know how to continue as in both integration bounds appear the integration variables!?
In general, if $X_1$ has density functions $\rho_{X_1}$ and $X_2$ has density $\rho_{X_2}$, then $Y = X_1 + X_2$ has density equal to the convolution of $\rho_{X_1}$ and $\rho_{X_2}$. That is $$\rho_y(y) = (\rho_{X_1} \ast \rho_{X_2})(y) := \int_{-\infty}^{\infty} \rho_{X_1}(y - x)\rho_{X_2}(x) \: dx $$
You have correctly written
$$P(Y \leq z) = \int_{-\infty}^{\infty}\int_{-\infty}^{z-x}\rho_{X_1}(x_1)\rho_{X_2}(x_2) \: dx_2dx_1$$
You can in fact recover the result about the convolution by differentiating your expression for $P(Y \leq z)$ with respect to $z$, using the Leibniz integral rule. We can then carry out the convolution integral to obtain $$ \rho_y(y) = (\rho_{X_1} \ast \rho_{X_2})(y) = \lambda^2 y e^{-\lambda y}, \; \; y \geq 0$$
I will leave the details of the integral to you. Note that the resulting distribution is a gamma distribution with parameters $(\alpha = 2, \beta = \lambda)$.