Write the domain and range of the function f(x) = (x – 2)/(2 – x).