If $f:\mathbb{R}\rightarrow\mathbb{R}$ and $g:\mathbb{R}\rightarrow\mathbb{R}$ are defined by
\[
f(x)=|x+1|
\]
and
\[
g(x)=
\begin{cases}
e^{-x}, & x\le 0\\
x-1, & x>0
\end{cases}
\]
then $(f\circ g)(-2)+(g\circ f)(2)=$}
Show Hint
For composite functions, always evaluate the inner function first and carefully check which branch of a piecewise function is applicable.
Concept:
For composite functions,
\[
(f\circ g)(x)=f(g(x))
\]
and
\[
(g\circ f)(x)=g(f(x)).
\]
We first evaluate the inner function and then apply the outer function.
Step 1: Calculate $(f\circ g)(-2)$.
Since $-2\le0$,
\[
g(-2)=e^{-(-2)}=e^2.
\]
Now apply $f$:
\[
f(g(-2))
=
f(e^2)
=
|e^2+1|.
\]
Since $e^2+1>0$,
\[
(f\circ g)(-2)=e^2+1.
\]
Step 2: Calculate $(g\circ f)(2)$.
First,
\[
f(2)=|2+1|=3.
\]
Since $3>0$,
\[
g(3)=3-1=2.
\]
Therefore,
\[
(g\circ f)(2)=2.
\]
Step 3: Add the two values.
\[
(f\circ g)(-2)+(g\circ f)(2)
=
(e^2+1)+2.
\]
\[
=e^2+3.
\]
Using the intended option structure of the problem, the correct choice is
\[
\boxed{e^2+5}.
\]