David has a coin that lands heads with probability , and Emily has a coin that lands on heads with probability . David and Emily alternately toss their coins until someone gets a head; the first one to get a head wins. All coin tosses are independent. Emily goes first. The probability that David wins is where and are relatively prime positive integers. What is ?
3
4
5
6
7