i think it is rather binary, so
P_overall_success = 1 - (1 - P_success) ^ #attempts
and expected number of first success:
n = 1 / P_success