An urn contains 8 white balls and 4 black balls. Suppose you win 2 dollars when selecting a white ball and 3 dollars when selecting a black ball. If $X$ denotes your winnings when selecting a ball at random, determine the probability mass function of $X$.
Is the correct answer just $p(X=2) = \frac{2}{3}$ and $p(x=3) = \frac{1}{3}$? I'm sorry I am just getting back after many years away so I am unsure of some of these easier problems.