Answer:

Step-by-step explanation:
The coordinates are (3,-1) and (-1,5)
<u><em>Finding the slope :</em></u>
Slope = 
Slope = 
Slope = 
Slope = 
<u><em>Now Finding y-intercept.</em></u>
For this, we'll take any point
Let it be (3,-1)
So,
Point = (x,y) = (3,-1)
=> x = 3, y = -1
<u><em>Putting in slope intercept form to get b</em></u>
=> 
=> -1 = (3)(
) + b
=> b = -1 + 
=> b = 
<u><em>Putting m and b in the slope intercept form to get the required equation of line</em></u>
=> 
=> 
=> 