Expectation problem in Mathematics

In expectation problem in mathematics where we have to find number of trials for N consecutive heads I did not understand the concept how we are taking (x+1), (x+2), etc.
Kindly help