A biased coin, with a probability of coming up heads and a probability of coming up tails, is tossed repeatedly. Let be the event that the first run of successive heads occurs before the first run of successive tails. If is the event that on the first toss the coin comes up heads and is the event that it comes up tails, show that
where and are to be determined. Use these two equations to find , , and hence .