I have a random variable which has a uniform distribution with parameters 0 and 2. I have another random variable , which has a moment generating function of whereby .

1. How do I find E(X)? Do I simply differentiate the mgf? [SOLVED]

2. How do I find and ?

Your help is very much appreciated.