two players A&B take turns on a gambling machine until one of them scores a success, the first to do so being the winner. Their probabilities for success on a single play are p for A and q for B, and successive plays are independent. Determine the probablity that A wins the contest given A plays first