Hello,

The mgf of a discrete distribution is :

So here, we have :

Now just recall Newton's binomial formula :

As for the second one, if the Xi's are independent, then the mgf of Y is the product of the mgf of the Xi.

If they're identically distributed, this will just be