Simplify 1+1/(1+1/(1+1/x))