Answer:
[tex]y=-3x+7[/tex]
Step-by-step explanation:
The slope of the line passing through the points (3,-2) and (1,4) is
[tex]\dfrac{4-(-2)}{1-3}=\dfrac{4+2}{-2}=\dfrac{6}{-2}=-3[/tex]
Hence, the equation of the line is
[tex]y-(-2)=-3(x-3)[/tex]
Rewrite it:
[tex]y+2=-3x+9\\ \\y=-3x+9-2\\ \\y=-3x+7[/tex]
The last equation is the slope-intercept equation of linear function.