So I have this question where you are given two random variables, $X$ and $Y$. $X$ is a continuous random variable (represented as a mean) with a distribution of $Exp(1)$ (exponential with $\lambda = 1$) and $Y$ is a discrete random variable (represented as the actual probability) with the distribution of $Pois(\lambda)$ and the parameter is $X$. I am asked to find the joint probability distribution.
The solution suggests that $f_{x, y} (x, y) = p_{y | x} (y | x)$ but I am not sure how to got to this or why. I do not even know why they use the discrete formula for this or why they even used a conditional. After, they multiple the two distribution formulae for each variable. I am not sure why this is either.