A line passes through (−1, 7) and (2, 10).
Which answer is the equation of the line?

Answer:
Option 2 - [tex]-x+y=8[/tex]
Step-by-step explanation:
Given : A line passes through (-1, 7) and (2, 10).
To find : Which answer is the equation of the line?
Solution :
The two point slope form is given by,
[tex](y-y_1)=\frac{y_2-y_1}{x_2-x_1}(x-x_1)[/tex]
Here, [tex](x_1,y_1)=(-1,7)[/tex] and [tex](x_2,y_2)=(2,10)[/tex]
Substitute the value in the equation,
[tex](y-7)=\frac{10-7}{2-(-1)}(x-(-1))[/tex]
[tex](y-7)=\frac{3}{3}(x+1)[/tex]
[tex](y-7)=1(x+1)[/tex]
[tex]y-x=1+7[/tex]
[tex]-x+y=8[/tex]
Therefore, Option 2 is correct.