How can a function with absolute value be expressed as a piecewise function For example, how does f (x) = | x | / x + X become a piecewise function

How can a function with absolute value be expressed as a piecewise function For example, how does f (x) = | x | / x + X become a piecewise function

When x > 0, f (x) = x + 1
When x