a/\(A=\left(\frac{x+1}{x^2-1}+\frac{x}{\left(x-1\right)\left(x^2+x+1\right)}.\frac{x^2+x+1}{x+1}\right).\frac{\left(x+1\right)^2}{2x+1}\)
\(\Leftrightarrow A=\left(\frac{x+1}{x^2-1}+\frac{x}{x^2-1}\right).\frac{\left(x+1\right)^2}{2x+1}\)
\(\Leftrightarrow A=\frac{2x+1}{x^2-1}.\frac{\left(x+1\right)^2}{2x+1}\)
\(\Leftrightarrow A=\frac{x+1}{x-1}\)
b/Thay số vào tính