The formula of a slope:
[tex]m=\dfrac{y_2-y_1}{x_2-x_1}[/tex]
We have m = -2 and the points (0, d) and (-8, 9). Substitute:
[tex]\dfrac{9-d}{-8-0}=-2\\\\\dfrac{9-d}{-8}=-2\qquad\text{multiply both sides by (-8)}\\\\9-d=16\qquad\text{subtract 9 from both sides}\\\\-d=7\qquad\text{change the signs}\\\\\boxed{d=-7}[/tex]