Since two of the three choices lead you right back to the initial state, you can compute the expected escape time fairly easily. Letting $E$ be the expected escape time, we have $$ E=\frac13\cdot3+\frac13\cdot(5+E)+\frac13\cdot (7+E), $$ therefore $E=15$.