Suppose a lottery is played like this: You must pay $\$5$ to play. Then, you select three numbers from $\{0, 1, 2, ..., 9\}$, with each of the three numbers being different (order does not matter). Let’s suppose that you choose the numbers $4, 7$, and $9$. The lottery organizers choose the winning numbers in the same manner (three non-repeating numbers), with each combination of three numbers being equally likely.
Payouts are as follows: If your numbers match exactly one of the winning numbers, you get your $5$ dollars back. If you match exactly two of the winning numbers, you get your $5$ dollars back, plus an extra $5$ dollars. If you match all three numbers, you get the $5$ dollars plus an extra $50$ dollars. Let the random variable $X$ represent your net winnings from this game (profit minus cost), in dollars.
(a) Give the cumulative distribution function of $X$.
(b) Calculate $\mathrm{Var}(X)$.