Let $X_1,X_2,\dots$ be i.i.d. Bernoulli random variables with parameter $\frac{1}{4}$. Let $Y_1,Y_2, \dots $ be another sequence of i.i.d. Bernoulli random variables with parameter $\frac{3}{4}$. And let $N$ be a geometric random variable with parameter $\frac{1}{2}$ (i.e., $\mathrm{P}(N = k) =\frac{1}{2^k},\, \forall\ k=1,2,\dots$). Assume the $X_i$’s, $Y_j$ ’s and $N$ are all independent. Compute $$\mathrm{Cov}(\sum_{i=1}^NX_i,\sum_{i=1}^NY_i).$$
Here $N$ is also an r.v. so I think I need to use conditional covariance. How can I solve this?
Where to start? I am stuck in the first step?
