Let X be the number of Bernoulli (p) trials required to produce at least one success and at least one failure. Find
a) the distribution of X
b) E(X)
c) Var(X)

I'm not really sure how to set this up ... any help would be great thanks!