Answer:
[tex]y=-x+7[/tex]
Step-by-step explanation:
Equation of straight line is given as
[tex]y-y_1=m(x-x_1)[/tex]
where slope m is calculated as
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]
Here
[tex](x_1, y_1)=(1, 6) \ \ and \ \ (x_21, y_2) = (5, 2)[/tex]
[tex]m = \frac{2 - 6}{5 - 1}\\m=\frac{- 4}{4} \\m=-1[/tex]
Equation of line that passes through the points (1,6) and (5,2)
[tex]y-6=-1(x-1)\\y=-x+7[/tex]