Given:
f(x)={\begin{matrix}2+2x,x\in [-1,0) \\ 1-\frac{x}{3},x\in [0,3]\end{matrix} and g(x)={\begin{matrix}x,x\in (0,1] \\ -x,x\in [-3,0]\end{matrix}
\Rightarrow f(g(x))={\begin{matrix}2+2g(x),g(x)\in [-1,0) \\ 1-\frac{g(x)}{3},g(x)\in [0,3]\end{matrix}
\Rightarrow f(g(x))={\begin{matrix}2+2|x|,|x|\in [-1,0)\Rightarrow x\in \phi \\ 1-\frac{|x|}{3},|x|\in [0,3]\end{matrix}
asx∈[−3,3]for ∣x∣≤3but x∈[−3,1]in g(x)
⇒f(g(x))=1−3∣x∣,x∈[−3,1]
Now, maximum value of f(g(x))=1−3∣x∣=1−30=1
And minimum value is given by f(g(x))=1−33=1−1=0
Hence, the range of the function will be [0,1]