We need to find limx→1g(h(x−1)).
Let t=x−1, so as x→1, we have t→0.
For t→0+: [t]=0 and f(t)=∣t∣t=1, so h(t)=0−1=−1.
For t→0−: [t]=−1 and f(t)=∣t∣t=−1, so h(t)=−2−(−1)=−1.
So h(t)=−1 for all t near 0 (but t=0).
Now, since h(t)=−1 near t=0, we need g(−1). From the piecewise definition, g(−1)=1.
Hence, limx→1g(h(x−1))=g(−1)=1.
So, the answer is 1.