The value of the piecewise function at \(x = -2\) is -1.
Given \(x = 0\), we find the condition that it satisfies.
The condition satisfied is , thus we evaluate the corresponding function \(g(x) = (x)\).
Substituting \(x = 0\) into the function, we get \(g(0) = 6\).
The value of the piecewise function at \(x = 0\) is 6.
Given \(x = 4\), we find the condition that it satisfies.
The condition satisfied is , thus we evaluate the corresponding function \(g(x) = (x)\).
Substituting \(x = 4\) into the function, we get \(g(4) = 18\).
The value of the piecewise function at \(x = 4\) is 18.