a) \(\dfrac{2x}{x^2-6x+9}+\dfrac{x-2}{x-3}\) (ĐK: \(x\ne3\))
\(=\dfrac{2x}{\left(x-3\right)^2}+\dfrac{x-2}{x-3}\)
\(=\dfrac{2x}{\left(x-3\right)^2}+\dfrac{\left(x-2\right)\left(x-3\right)}{\left(x-3\right)^2}\)
\(=\dfrac{2x+x^2-2x-3x+6}{\left(x-3\right)^2}\)
\(=\dfrac{x^2-3x+6}{x^2-6x+9}\)
b) \(\dfrac{x^2+2}{x^3-1}+\dfrac{2}{x^2+x+1}-\dfrac{1}{x-1}\)
\(=\dfrac{x^2+2}{\left(x-1\right)\left(x^2+x+1\right)}+\dfrac{2\left(x-1\right)}{\left(x-1\right)\left(x^2+x+1\right)}-\dfrac{x^2+x+1}{\left(x-1\right)\left(x^2+x+1\right)}\)
\(=\dfrac{x^2+2+2x-2-x^2-x-1}{\left(x-1\right)\left(x^2+x+1\right)}\)
\(=\dfrac{x-1}{\left(x-1\right)\left(x^2+x+1\right)}\)
\(=\dfrac{1}{x^2+x+1}\)