2. (30%)The joint probability mass function f(x, y) of random variables X and Y is given in the following table.