With even just two points, you can find the equation of a line in slope-intercept form.
Slope-intercept form:
where
is the slope and
is the y-intercept
1) Solve for the slope (
)
The equation to solve for the slope is
when the two points are
and
. Plug the coordinates of these points into the equation and solve for
.
Then, plug
into
.
1) Solve for the y-intercept (
)
Then, take any of the given points and plug it into
along with the slope. Isolate
to get the y-intercept. Then, plug both m and b back into
to get your final equation.
I hope this helps!