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^{2}+x,x,x+1$.
$$7x-\left(x+1\right)\times 5=x\times 3$$
Use the distributive property to multiply $x+1$ by $5$.
$$7x-\left(5x+5\right)=x\times 3$$
To find the opposite of $5x+5$, find the opposite of each term.
$$7x-5x-5=x\times 3$$
Combine $7x$ and $-5x$ to get $2x$.
$$2x-5=x\times 3$$
Subtract $x\times 3$ from both sides.
$$2x-5-x\times 3=0$$
Combine $2x$ and $-x\times 3$ to get $-x$.
$$-x-5=0$$
Add $5$ to both sides. Anything plus zero gives itself.