Slope formula: [tex] \frac{y_2-y_1}{x_2-x_1} [/tex]
([tex]x_1,~y_1[/tex]) = (-2, 0)
([tex]x_2, y_2[/tex]) = (0, 4)
[tex]x_1[/tex] = -2
[tex]x_2 = 0[/tex]
[tex]y_1=0[/tex]
[tex]y_2=4[/tex]
Plug in the numbers.
[tex] \frac{4-0}{0-(-2)} [/tex]
= [tex] \frac{4}{2} [/tex]
= 2
Answer Choice D; Slope = 2