Hint for Homework 3, problem 1:
Let T(i) be the expected time to reach node i. Write T(i) in terms of some other T(j)'s. How can you solve the recursion?