Non-red gumballs score points until a red one
A gumball machine gives a red gumball with probability each time, independently. You keep buying gumballs until you get a red one, then stop. For each non-red gumball you got before the red one, you flip a fair coin and score points on tails or points on heads.
What total score should you expect?