A discrete random variable $X$ has probability generating function $G_X(t)$. If $Y=aX+b$ show that the probability generating function of $Y$ is given by $G_X(t)=t^bG_X(t^a)$. Hence prove that $E(Y)=aE(X)+b$ and that Var$(Y)=a^2$Var$(X)$.
I'm currently learning probability generating functions and I am confused with this question. I've attempted to express $G_Y(t)$ using its definition, but I'm not sure where to go from there. I'm not even sure I know how to approach this question. I appreciate any help- thank you!
Recall that $$G_X(t) = \operatorname{E}[t^X].$$ Thus $$G_Y(t) = \operatorname{E}[t^{aX+b}] = \operatorname{E}[(t^a)^X t^b] = t^b \operatorname{E}[(t^a)^X] = t^b G_X(t^a),$$ as claimed, because $t$ and $b$ are constants with respect to the expected value. For the second part, how is the probability generating function related to the moments of a random variable?