3. Let X be a random variable and let g(x) be a nonnegative function. Then, for any r > 0, show that $$P(g(X) \ge r) \le \frac{Eg(X)}{r}. \quad (8\%)$$