Two players, A and B, alternately and independently flip a coin and the firstplayer to obtain a head wins. Assume player A flips first.1. If the coin is fair, what is the probability that A wins?2. Suppose that P(head) = p, not necessarily 12. What is the probability that A wins?