(10 points) Given an unfair coin whose probability of heads is p, do the following:
(a) Flip the coin twice.
(b) If the two outcomes are different, stop. If not, flip the coin twice again until a pair of different outcomes are obtained.
(c) Once two different outcomes are reached, report the result of the second flip.
What is the probability that at the end of this process tails is reported? The individual coin flips are independent of each other.
4. (10 points) Given an unfair coin whose probability of heads is 0 < p < 1, do the following:
(a) Flip the coin twice.
(b) If the two outcomes are different, stop. If not, flip the coin twice again until a pair of different outcomes are obtained.
(c) Once two different outcomes are reached, report the result of the second flip. What is the probability that at the end of this process tails is reported? The individual coin flips are independent of each other.