The domain and range of the function f given by f(x) = 2 – |x – 5|, is