Let's first calculate the slope, which is taken by dividing the change in y by the change of x.
The slope is 2.
Now that we know the slope is 2, we can plug in two coordinates to solve for the y-intercept, represented as b.
Let's pick (3,4).
The equation is 2x-2