A fair coin is continually flipped until heads appears for the 10th time. Let X denote the number of tails that occur. Compute the probability mass function and the expected value of X.