Answer:
We have a line L.
Remember that in two dimensions, we can write a line as:
y = a*x + b
where a is the slope and b is the y-axis intercept.
For a line that passes through the points (x1, y1) and (x2, y2), the slope can be written as:
a = (y2 - y1)/(x2 - x1).
And then using one of these points, we can find the value of b.
Then wen we got the equation for the line:
y = a*x + b
We can input a point (x, y)
And see if the equality is true, then the point belongs to the line L.