1.
Let ff and gg be two functions defined by
f(x)={x+1,x<0∣x−1∣,x>0f(x) = \begin{cases} x+1, & x < 0 \\ |x-1|, & x > 0 \end{cases}

and
g(x)={x+1,x<01,x≥0g(x) = \begin{cases} x+1, & x < 0 \\ 1, & x \geq 0 \end{cases}

Then (g∘f)(x)(g \circ f)(x) is