h(x)=g(f(x)).
If x>0, f(x)=logex.
If logex≥0 (i.e., x≥1), h(x)=logex.
If logex<0 (i.e., 0<x<1), h(x)=elogex=x.
If x≤0, f(x)=e−x≥1.
Since f(x)≥1, h(x)=e−x (using the x≥0 case of g(x)).
The function values are always >0. Therefore, it can never reach negative values in the codomain R. It is not onto.
Check values: h(1/2)=1/2. Also, h(x)=e−x for x≤0 covers [1,∞). The function is not monotonic and repeats values.
Result: B (neither one-one nor onto).