The Slope-Intercept form of the equation of a line is:
[tex]y=mx+b[/tex]Where "m" is the slope of the line and and "b" is the y-intercept.
Knowing that the line passes through the points given in the exercise, you can find the slope with the following formula:
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]You can set up that:
[tex]\begin{gathered} y_2=-3 \\ y_1=2 \\ x_2=6 \\ x_1=1 \end{gathered}[/tex]Then substituting values, you get:
[tex]m=\frac{-3-2}{6-1}=\frac{-5}{5}=-1[/tex]Substitute the slope and the coordinates of one of the points on the line into the equation
[tex]y=mx+b[/tex]And solve for "b":
[tex]\begin{gathered} 2=(-1)(1)+b \\ 2=-1+b \\ 2+1=b \\ b=3 \end{gathered}[/tex]Then, knowing "m" and "b", you can determine that the equation of this line in Slope-Intercept form is:
[tex]y=-x+3[/tex]