Consider the following functions:

 f(x) = 2x-1, { if } -2\leq x<1
2-x, { if } 1\leq{x}\leq{3}
(sorry for the poor LaTex coding)
 g(x) = \sqrt{2-x}

Find the domain and the range of f o g.
Then find a formula for f o g