Given: f(x)={\begin{matrix}{\mathrm{log}}_{e}x, & x>0 \\ {e}^{-x}, & x\leq 0\end{matrix} and g(x)={\begin{matrix}x, & x\geq 0 \\ {e}^{x}, & x<0\end{matrix}
\Rightarrow g(f(x))={\begin{matrix}f(x), & f(x)\geq 0 \\ {e}^{f(x)}, & f(x)<0\end{matrix}
\Rightarrow g(f(x))={\begin{matrix}{e}^{-x}, & (-\infty ,0] \\ {e}^{\mathrm{log}x}, & (0,1) \\ \mathrm{log}x, & [1,\infty )\end{matrix}
Graph of g(f(x)) is given below:

Range of g(f(x))=[0,∞)=Codomain
So, g(f(x)) is many-one and into.