Probability of success p = 0.8, so q = 0.2.
X = success in getting through.
Probability of 7 successes in 10 attempts:
Using the following function in SNB,
we have: