Simplify x/(x^2+3x+2)+3/(x+1)