We have $\{X_i\}_{i\in\mathbb N}$ as a sequence of independent exponentially distributed rv's with parameter $\lambda$. We also have, $Y_N =\sum_{i=1}^{N} X_i$.
I need to prove that, $Y_N$ has the exponential distribution with parameter $p\lambda$ where $N$ is a geometrically distributed rv with parameter $p$. Also $p$ here is independent of $\{X_i\}_{i\in\mathbb N}$.
Any help is highly appreciated. thanks.