A fair coin is tossed 3 times. Find the probability of getting:

a.)exactly two heads

b.)exactly three heads

c.)exactly one tail

I know i have to use the formula $\displaystyle nCr p^r q^(n-r)$

for part a.) n=3

r=2

p=?

q=?

I don't know how to find p and q