Step 1 : Let's find the points given in the cartesian plane and let's draw the line.
Step 2: Let's calculate m (slope), as follows:
m = (Y - Y1)/((X -X1)
Replacing with the values we already know, we have:
m = (5 - (-1)/ 3 - 1
m = 6 /2 = 3
Step 3: Now, we can write the equation, as follows:
y - y1 = m (x -x1)
y - (-1) = 3 (x - 1)
y + 1 = 3x - 3
y = 3x -4
This is the equation that solves the question: y = 3x - 4