a fair coin is tossed until a head is obtained

a) find the expected value of the number of tosses required.

b) what is the expected value of the number of heads tossed.

i think part a is E(X)= 1/P = 1/0.5 = 2

ANY HELP WITH THIS WOULD BE GREAT THANKS