To find the probability mass function (PMF) of , we need to determine the probabilities of Bob reaching each level from 1 to 7.
Level 1 is the highest level reached by Bob if he fails to pass level 1, which happens with probability . Thus, .
For , is the probability of reaching level but not reaching level . This can be calculated as
.
Bob reaches level 7 if he passes each level from 1 to 6:
.