Suppose that $X_{1} \sim B(n_{1},p_{1})$ and $X_{2} \sim B(n_{2},p_{2})$ are independent. Write down the moment generating function for the random variable $Y=X_{1}+X_{2}$.
I know the moment generating function $M_{Y}(t)$ is defined at $E[e^{tY}]$.
$$E[e^{tY}] = \sum^{\infty}_{y=0}e^{ty}f_{Y}(y)$$ $$= \sum^{n_{1}+n_{2}}_{x_{1}+x_{2}=0}e^{t(x_{1}+x_{2})}f_{X_{1}+X_{2}}(x_{1}+x_{2})$$
But now I'm confused in what to do next.