\(\frac{2x}{x+1}+\frac{3\left(x+1\right)}{x}=5\)
\(\Leftrightarrow\frac{2x^2+3\left(x+1\right)^2}{x\left(x+1\right)}=\frac{5x\left(x+1\right)}{x\left(x+1\right)}\)
\(\Rightarrow2x^2+3\left(x^2+2x+1\right)=5x^2+5x\)
\(\Leftrightarrow2x^2+3x^2+6x+3=5x^2+5x\)
\(\Leftrightarrow5x^2-5x^2+6x-5x=-3\)
\(\Leftrightarrow x=-3\)