Answer: y = 1x + -4
Equation of a straight line:
y = mx + b ------(i)
Step by Step Solution:
Step 1: Calculating Slope (m).
m = y2-y1 /x2-x1
m = 3--1 /7-3
m = 4/4
m = 1
Now putting value of m in equation (i)
y = 1x + b -----(ii)
Step 2: Calculating Y-intercept (b).
Lets choose the first point, (3,-1) for calculating y-intercept:
y = mx + b
-1 = 1(3) + b
-1 = 3 + b
-4 = b
b = -4
Now putting value of b in equation (ii)
y = 1x + -4