Explanation:
Hey there!
Note: Use double point formula for finding the eqaution which passes through two points.
Given;
The points are; (1,-3) and (3,1).
Use double point formula.

Put all values.

Simplify it.





Therefore, the eqaution is y = 2x-5.
Alternative:
Steps:
- Find slope using slope formula and use one point formula.
- Simplify in the form of y = mx+c form.
Formula:
- Slope = (y2-y1)/(x2-x1)
- One point formula= (y-y1)= m(x-x1)
The points are; (1,-3) and (3,1).
Now;
Slope= (1- (-3))/(3-1)
= (1+3)/2
= 2
Again;
Using one-point formula.
(y+3) = 2(x-1)
y+3= 2x-2
y = 2x -5
Therefore, the equation is y = 2x-5.
(You can follow up any method you want)
Hope it helps....