How do you simplify 2+3d+d?

$4 d + 2$
$2 + 3 d + \left(1\right) d$
You can also look at this as $2 + d \left(3 + 1\right)$ which uses distribution