1:
ĐKXĐ: \(x\notin\left\{3;-2;1\right\}\)
\(A=\left(\dfrac{x\left(x+2\right)-x+1}{\left(x-3\right)\left(x+2\right)}\right):\left(\dfrac{x\left(x-3\right)+5x+1}{\left(x+2\right)\left(x-3\right)}\right)\)
\(=\dfrac{x^2+2x-x+1}{\left(x-3\right)\left(x+2\right)}\cdot\dfrac{\left(x+2\right)\left(x-3\right)}{x^2-3x+5x+1}\)
\(=\dfrac{x^2+x+1}{\left(x-1\right)^2}\)