The slope-intercept form of a line is:

Where m is the slope of the line and b is the y-intercept.
As a middle step, we can use the slope-point form, which is:

Where (x₁, y₁) is a point in the line.
The slope can be found by using both points:

So, using the points we have, (3, 8) and (4, 10):

And the slope-point form:

Now, we can just solve of y to get it to the slope-intercept form:

So, the slope-intercept equation is:
