Solution (source code)

= Solution

Let $g_i=E_i[T_A\mathbf1_{\{T_A<T_F\}}]$ for the chain absorbed at $A$ or $F$. With $g_C=g_D=y$, <First-step analysis> gives
$$
g_B=(2+2y)/3,\qquad g_E=(1+2y)/3,\qquad y=(1+g_B+g_E)/2.
$$
Thus $y=3$ and $g_B=8/3$. Including the initial step from $A$, the conditional mean is
$$
\boxed{1+\frac{g_B}{h_B}=1+\frac{8/3}{2/3}=5.}
$$