Remember that the function f(x) = |x| is defined as:
y
= x  for  x ³ 0
= -x  for  x < 0 .
Split up the domain of the function.