Respuesta :
Answer:
The correct option is B.
Step-by-step explanation:
The slope of a line is constant.
If a line passes through two points then the slope of the line is
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]
It is given that the line passes through (-2,7) and (a,2).
Using the above formula the slope of the line is
[tex]m=\frac{2-7}{a-(-2)}[/tex]
[tex]m=\frac{-5}{a+2}[/tex]
It is given that the slope of the line is -5. Substitute m=-5 in the above equation.
[tex]-5=\frac{-5}{a+2}[/tex]
On cross multiplication we get
[tex]-5(a+2)=-5[/tex]
Divide both sides by -5.
[tex]a+2=1[/tex]
Subtract 2 from both the sides.
[tex]a=1-2[/tex]
[tex]a=-1[/tex]
The value of a is -1. Therefore the correct option is B.