5. Given a piecewise-defined-function
\( f ( x ) = \left\{ \begin{array} { c c } { 3 } & { , - 4 \leq x \leq - 1 } \\ { x - 2 } & { , - 1 < x < 2 } \\ { \frac { 1 } { 2 } x } & { , 2 \leq x < 4 } \end{array} \right.\)
i) Find the domain of \( f \) . Write your answer in interval notation. ii) Evaluate \( f ( - 2 ) + 2 f ( 3 ) - f ( 0 ) \) .