Variable $x$ cannot be equal to any of the values $-1,0$ since division by zero is not defined. Multiply both sides of the equation by $x\left(x+1\right)$, the least common multiple of $x,x+1$.
$$\left(x+1\right)\times 2=x\times 3$$
Use the distributive property to multiply $x+1$ by $2$.
$$2x+2=x\times 3$$
Subtract $x\times 3$ from both sides.
$$2x+2-x\times 3=0$$
Combine $2x$ and $-x\times 3$ to get $-x$.
$$-x+2=0$$
Subtract $2$ from both sides. Anything subtracted from zero gives its negation.