For the first part, is X meant to be a discrete random variable? If so, the notion of a pdf does not exist. It is actually the pmf (probability mass function).
If so, then we have
P(X=x) = (1-p)^{1-x}p
The cumulative distribution function is given by
F(x) = P(X \leq x)
= P(X=1) + P(X=2) +...