Problem in my Stat class
Let $Y_1, Y_2,\ldots, Y_n$ be arandom sample of size $n$ from
$$f_Y(y)= \frac{1}{\theta } e^{-y/\theta}, \qquad y> 0,\theta > 0$$
Use moment-generating functions to show that the ratio $2n\bar{y}/\theta$ has a chi square distribution with $2n$ degrees of freedom.
First question do they mean that $2n\bar{y}$ is the $y$ variable and $\theta$ is the $\theta$ variable?
secondly how do you show that anything has a chi squared distribution?
Small hints to guide me in the right direction would also be helpful.