How do you write #f(x)=|x-1|# as piecewise functions?