I have the following question with me: Let $X, Y$ be independent real valued random variables and define $Z:=X+Y$. Let $F_X, F_Y$ and $F_Z$ be the respective distribution functions of $X$, $Y$ and $Z$. Show that $$ F_Z(a)=\int F_X(a-y) P^Y(d y), \quad a \in \mathbb{R} . $$ If $X$ has continuous density $f_X$, show that $$ f_Z(a):=\int f_X(a-y) P^Y(d y), \quad a \in \mathbb{R} $$ is the density of $Z$. If $X$ has continuous density $f_X$ and $Y$ has continuous density $f_Y$, show that $$ f_Z(a):=\int_{-\infty}^{\infty} f_X(a-y) f_Y(y) d y, \quad a \in \mathbb{R} $$ is the density of $Z$.
This is what I've tried: I can use the Fubini-Tonelli theorem to calculate $F_Z(a)$. Also, integrating is easier than taking derivative.
The following is the theorem: Let $(E, \mathcal{E}, P)$ and $(F, \mathcal{F}, Q)$ be probability spaces. a) Define $R(A \times B)=P(A) Q(B)$ for $A \in \mathcal{E}, B \in \mathcal{F}$. R extends uniquely to a probability measure $P \otimes Q$ on $\mathcal{E} \times \mathcal{F}$ (it is called the product measure). b) If $f$ is measurable and integrable (or positive) w.r.t. $\mathcal{E} \otimes \mathcal{F}$, then the functions $$ \begin{aligned} x & \mapsto \int f(x, y) Q(d y), \\ y & \mapsto \int f(x, y) P(d x) \end{aligned} $$ are measurable and $$ \begin{aligned} \int f d P \otimes Q & =\int\left\{\int f(x, y) Q(d y)\right\} P(d x) \\ & =\int\left\{\int f(x, y) P(d x)\right\} Q(d y) \end{aligned} $$
But I'm not still not able to fully figure this out, and I would appreciate help. Thank you!!