
Explanation:
Note that the line goes through the following points:
and
So the slope of this line is

Now we can write the general form of the slope-intercept equation of the line as follows:

To find the value of b, we can use either P1 or P2. Let's use P1:

Therefore, the equation of the line is
