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