Task
Given a random walk with a probability of going up, $p$. Find the expected time, $T^*$, when +2 or -2 is first achieved (starting from zero).
My attempt
First of all, let's denote $f_{xy}$, the expected time to get from $x$ to $y$. So, the time to get from 0 to 2 is, $f_{02}$. I assume that $T^* = p*f_{02} + (1-p)*f_{0 \ -2}$ (but I'm unsure about this assumption). Now, let's find $f_{02}$. I consider the problem as a Markov's chain, so I can write two equations:
$$f_{02} = (1+f_{01})p+ f_{02}(1-p) \\ \mbox{ we can get to 2 from 1 in one go or get back to zero}$$
$$f_{01} = 1\cdot p + (1-p)f_{-1 1}$$
$$f_{-1 1} = f_{02}$$
This results in $f_{02} = 1/p + 1$. Similarly, when can find $f_{0\ -2} $. Is my approach correct?