The graph of a function f consists of:
(i) a ray starting at (−3,4) (point included) and extending indefinitely to the left with slope −1;
(ii) a semicircle centred at (2,1) with radius 2 lying above the x-axis, including its endpoints; and
(iii) a vertical ray starting at (6,−2) (open circle) and extending indefinitely downward.
Determine the domain and the range of f, writing each as a union of intervals where necessary.