Consider the following functions:

$\displaystyle f(x) = 2x-1, { if } -2\leq x<1 $

$\displaystyle 2-x, { if } 1\leq{x}\leq{3}$

(sorry for the poor LaTex coding)

$\displaystyle g(x) = \sqrt{2-x}$

Find the domain and the range of $\displaystyle f o g$.

Then find a formula for $\displaystyle f o g$