Two players, A and B, play a series of games. Each game is independent, and player A has a probability of winning any single game. The match ends as soon as player A wins two games in a row. Find the probability that player A wins the match within the first games, where is a positive integer.
A
B
C
D