Two players take turns shooting at a target, with each shot by player $i$ hitting the target with probability $p_i$, $i=1,2$. Shooting ends when two consecutive shots hit the target. What is the probability that the player who shoots first will win?
I understand this problem on a more simple level, when the win condition is only one hit, although I do not know how to solve it given two consecutive hits.