Let \( f(x) = \frac{x^2 - 3x + 2}{x - 1} \). Find all the values of \( x \) for which \( f(x) = 0 \) and verify if these values are within the domain of \( f(x) \). Let's think step by step and output the final answer within \boxed{}.
user