Tính
a)\(\left(\dfrac{\left(x-1\right)^2}{\left(3x+x-1\right)^2}-\dfrac{1-2x^2+4x}{x^3-1}+\dfrac{1}{x-1}\right):\dfrac{x^2+x}{x^2+1}\)
b)\(\left(\dfrac{3\left(x+2\right)}{2\left(x^3+x^2+x+1\right)}+\dfrac{2x^2-x+10}{2\left(x^3+x^2+x+1\right)}\right):\left(\dfrac{5}{x^2+1}+\dfrac{3}{2\left(x+1\right)}-\dfrac{3}{2\left(x-1\right)}\right).\dfrac{2}{x-1}\)
c)\(\left(\dfrac{x^2}{x^2-5x+6}+\dfrac{x^2}{x^2-3x+2}\right):\dfrac{\left(x-1\right)\left(x-3\right)}{x^4+x^2+1}\)