a) \(=\text{[}\frac{\left(x-3\right)\left(x-3\right)}{x\left(x-3\right)}-\frac{x.x}{x\left(x-3\right)}+\frac{9}{x\left(x-3\right)}\text{]}:\frac{2x-2}{x}\)
\(=\text{[}\frac{\left(x-3\right)\left(x-3\right)-x^2+9}{x\left(x-3\right)}\text{]}:\frac{2x-2}{x}\)
\(=\text{[}\frac{x^2-3x-3x+9-x^2+9}{x\left(x-3\right)}\text{]}:\frac{2x-2}{x}\)
\(=\frac{18}{x\left(x-3\right)}:\frac{2x-2}{x}\)
\(=\frac{18}{x\left(x-3\right)}\cdot\frac{x}{2x-2}\)
\(=\frac{18x}{x\left(x-3\right).\left(2x-2\right)}\)
\(=\frac{18x}{x\left(x-3\right)2\left(x-1\right)}\)
\(=\frac{9}{\left(x-3\right)\left(x-1\right)}\)
Mình chỉ làm tới đây thôi không biết đúng hay sai nữa :v