Answer:
The equation of the line in slope intercept form is;
[tex]y=-x+4[/tex]And the equation of the line in point-slope form is;
[tex]y-1_{}=-1(x-3_{})[/tex]Explanation:
We want to write a linear equation that passes through the points;
[tex](3,1)\text{ and }(-2,6)[/tex]Firstly, let us find the slope of the line;
[tex]\begin{gathered} m=\frac{y_2-y_1}{x_2-x_1} \\ m=\frac{6-1}{-2-3} \\ m=\frac{5}{-5} \\ m=-1 \end{gathered}[/tex]So, we can now use the point-slope equation of line to find the equation of the line;
[tex]y-y_1=m(x-x_1)_{}[/tex]using the point given;
[tex](x_1,y_1)=(3,1)[/tex]And the derived slope, we have;
[tex]\begin{gathered} y-y_1=m(x-x_1)_{} \\ y-1_{}=-1(x-3_{}) \\ y-1=-x+3 \\ y=-x+3+1 \\ y=-x+4 \end{gathered}[/tex]Therefore, the equation of the line in slope intercept form is;
[tex]y=-x+4[/tex]And the equation of the line in point-slope form is;
[tex]y-1_{}=-1(x-3_{})[/tex]