Hello!
The answer is:
The equation of the line in slope-intercept form:

Why?
To find the equation in slope-intercept form, we need to follow the next steps:
Find the slope of the line:
Using the slope formula, we have:

We are given the points:

So, substituting we have:



Find the "b" value:
Now that we know the value of the slope, we can write the equation of the line:

In order to find "b" we need to substituite any of the given points, we know that line is thru both of the given points, so, substituting (2,4) we have:

Now that we know the slope and "b", we can write the equation of the line in slope-intercept form:

Have a nice day!