Alice and Bob play a game with a coins. Alice's coin lands heads with probability of heads per flip, while Bob's coin lands heads with probability per flip. Alice starts with the coin and flips it. Alice wins when she obtains her first heads, while Bob needs to obtain two heads (not necessarily consecutive) to win. The players repeatedly pass the coin to each other to alternate the flips until someone wins. Find the probability that Alice is the winner when and .