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