In order to find the line equation, we need to choose 2 points along the line, for instance,
the points
Then, the slope m of the line will be given by
which gives
Then, the line has the form
We can find the y-intercept denoted by b by substituting one of the two points. For instance, if we substitute point (0,1) into the last result, we get
Therefore, the line equation in slope-intercept form is given by: