y = -x + 4
Step-by-step explanation:
uisng equation of ;line: y = mx + b
m = slope, b = y-intercept
points: 3, 1 and 5, -1
Slope formula:


To get the y-intercept, we would pick any of the points:
using: (3, 1) = (x, y)
y = mx + b
1 = -1(3) + b
1 = -3 + b
1 + 3 = b
b = 4
The equation becomes:
y = -1(x) + 4
y = -x + 4