<t>Let L(0)=m, R(0)=n, i.e. we start at (m,n).E(X)=Sum_i {i*P(we reach (i,0))*P(we reach out into right pocket)}+Sum_ j {j*P(we reach (0,j))*P(we reach out into left pocket)}Note that the probability of each path from (m,n) to (i,0)*P(we reach out into right pocket) is the same: (the last fraction b...