Head expectation

In this part we if assume that first we get tail then how we calculate the expectaion.

what is the your doubt
can you explain?