Code:
2x*(x+3) = 0
<=> 2x*x + 2x*3
<=> 2x^2 + 6x
I think this is called distributing (it's the inverse of factoring I suppose)