(A) Write the equation using absolute value notation.
(B) then write the equation as a piece wise-defined function.
