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