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