We have two points of the line, and we have to find the equation of the line in the slope-intercept form:

First, we find the slope as:

With the value of the slope, we can calculate b replacing the values of x and y with one of the know points:

Now, we have the two parameters (slope and y-intercept) to define the line, and we can write the equation as:
