Answer
See below
Work Step by Step
$$\frac{x}{x-2}+\frac{1}{x+1}=\frac{2x+1}{x+1}\\\frac{x}{x-2}=\frac{2x}{x+1}\\x^2+x=2x^2-4x\\x^2-5x=0\\x(x-5)=0\\x=0 \lor x=5$$
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.