Suppose that A tosses a coin which lands heads with probability pA and B tosses one which lands with probability pb. They Toss their coins simultaneously over and over again, in a competition to see who gets the first head. The one to get the first head is the winner, except that a draw results if they get their first heads together. Calculate:

a) P(A wins)

b)P(B wins)

c)Draw

d)the distribution of the number of times A and B must toss.

I'm pretty sure you are supposed to use the geometric (p) distribution but I don't exactly understand how...