Now I show you how to work with the expexted value E(X) and how to prove it for a Geometric distribution.

Proof of E(X)