Answer:
y = - x + 4
Step-by-step explanation:
the equation of a line in slope- intercept form is
y = mx + c ( m is the slope and c the y- intercept )
calculate the slope m, using the slope formula
m = [tex]\frac{y_{2}-y_{1} }{x_{2}-x_{1} }[/tex]
let (x₁, y₁ ) = (1, 3 ) and (x₂, y₂ ) = (- 2, 6 )
substitute these values into the formula for m
m = [tex]\frac{6-3}{-2-1}[/tex] = [tex]\frac{3}{-3}[/tex] = - 1 , then
y = - x + c ← is the partial equation
to find c, substitute either of the 2 points into the partial equation
using (1, 3 ) for x and y in the partial equation
3 = - 1 + c ( add 1 to both sides )
4 = c
y = - x + 4 ← equation of line