$$x \operatorname{sign}{\left(x - 1 \right)} + \left|{x - 1}\right|$$
2*(x*DiracDelta(-1 + x) + sign(-1 + x))
$$2 \left(x \delta\left(x - 1\right) + \operatorname{sign}{\left(x - 1 \right)}\right)$$
2*(3*DiracDelta(-1 + x) + x*DiracDelta(-1 + x, 1))
$$2 \left(x \delta^{\left( 1 \right)}\left( x - 1 \right) + 3 \delta\left(x - 1\right)\right)$$