solve 1/(x+2)-2/(x+1) = 3/(x+2) for x

Input interpretation

solve 1/(x + 2) - 2/(x + 1) = 3/(x + 2) for x

Result

x = -3/2