I'm not even sure where to begin on this one, or how f(x) and g(x) are related...

Let

------{0 if x< 0

------{x if $\displaystyle 0 \leq x \leq 1$

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

------{0 if x> 2

(excuse the mess, but I've no idea how to do the piecewise functions with math tags.)

a) Find an expression for g(x) similar to the one for f(x), i.e., a piecewise defined function.

b)sketch the graphs of f(x) and g(x) on the same coordinate system.