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