$X$ has Poisson distribution with parameter $λ$, and $λ$ is a random variable uniformly distributed over the interval $[0,2].$
Find the probability mass function of X with parameter λ. Find the probability that the value of variable is 2.
My solution:
I found the probability mass function of $X$, then $λ$ is not a random variable, and it is: $G_x(t)=e^{{-λ}(1-t)}.$