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