Hello!
First, let's discover the slope using the formula below:
Let's use (x1, y1) as (-1, 5) and (x2, y2) as (3, -1). Replacing it in the formula:
So, we know one part of the equation, that m = -3/2.
Now, we have to calculate b:
To do it, let's use the point (x2, y2) = (3, -1) again:
So, we also know that b = 7/2.
Now, writing it as an equation: