Answer:
y = - x + 4
Explanation:
The equation of a line in slope- intercept form is
y = mx + c ( m is the slope and c the y- intercept )
Calculate m using the slope formula
m =

with (x₁, y₁ ) = (1, 3) and (x₂, y₂ ) = (3, 1)
m =
=
= - 1 , then
y = - x + c ← is the partial equation
To find c substitute (1, 3 ) into the partial equation
3 = - 1 + c ⇒ c = 3 + 1 = 4
y = - x + 4 ← equation of line