Step 1 :The first step is to factorize both the numerator and denominator of the fraction. We get \(\frac{x(x-1)(x-2)}{x(x-1)}\)
Step 2 :Then, we cancel out the common factors in the numerator and the denominator. We are left with \(x-2\) in the numerator and 1 in the denominator
Step 3 :Finally, we simplify the fraction to get \(x-2\)