Answer :
[tex] \frac{X^2-2x+1}{x^2-x} = \frac{(x-1)(x-1)}{x(x-1)} = \frac{x-1}{x}[/tex]
x² - 2x + 1 = x² - x - x + 1 = (x - 1)(x - 1) = x - 1 = 1 - 1
x² - x x(x) - x(1) x(x - 1) x x
x² - x x(x) - x(1) x(x - 1) x x