Variable $x$ cannot be equal to any of the values $-\frac{1}{2},0$ since division by zero is not defined. Multiply both sides of the equation by $x\left(2x+1\right)$, the least common multiple of $2x+1,x$.
$$x\times 3=\left(2x+1\right)\times 2$$
Use the distributive property to multiply $2x+1$ by $2$.