The function $f(x)$ is defined as:
\[f(x)=\left\{\begin{array}{ll}x^{2} & : x \geq 0 \\ x & : x<0\end{array}\right.\]
And the function $g(x)$ is defined as $g(x)=-|x|$, which can be rewritten as:
\[g(x)=\left\{\begin{array}{ll}-x & : x \geq 0 \\ x & :
Show more…