$\noindent Because we're told the graph of the cubic passes through the point $(0, -6)$, so if we sub. $x = 0$ into the cubic, we get $-6$. Also, if we sub. $x = 0$, we get $d$. Hence $d = -6$.$
In general, the constant term of a polynomial is the y-intercept (value when x = 0).