Answer
$\frac{3x+2}{x(x+1)}$, domain $\{x|x\ne-1, 0 \}$
Work Step by Step
Given $f(x)=\frac{x}{x+1}, x\ne-1$ and $g(x)=\frac{x+2}{x}, x\ne0$, we have $(g-f)(x)=g(x)-f(x)=\frac{x+2}{x}-\frac{x}{x+1}=\frac{(x+2)(x+1)-x^2}{x(x+1)}=\frac{3x+2}{x(x+1)}$ and the domain as $\{x|x\ne-1, 0 \}$