Simplify LX + 1L + lx-3l

Simplify LX + 1L + lx-3l

When x > 3, the original formula = x + 1 + x-3 = 2x-2
When x