My problem is something like this problem We have $ X = Pois (\lambda)$ and $Y|X = binom (X , p)$ Where p is a known constant. And I want to calculate the correlation of $X$ and $Y$. I read the answer to that question but I really have no idea what to do for this question. I actually can't calculate covariance even after reading that. Because I don't know what is actually the distribution of $Y$ in order to calculate $COV(X,Y)=\sum P(X,Y) * (X-\mu_x)(Y-\mu_Y)$. Also I can't Calculate Standard deviation of $Y$ because I don't Know the distribution. So I can't calculate $COR(X,Y) = COV(X,Y)/\sigma_x\sigma_y$. What should I do?
I am very new to statistics and probability and I really don't have any idea where should I start when solving these problems. Note that I am not allowed to use iterated expectation in this question.