Just rewrite the equation to solve for the y-intercept.
y = mx + b
becomes
b = y - mx
So, by knowing a point on the line and the slope, you can find the y-intercept that way.

Remember, x and y can be the coordinates of ANY point on the line.
So, say we have a line that passes through points (1,2) and (4,6).
We want to find the Y value for point (3,y), assuming point (3,y) is on the line.
First, like you said, it's easy to find the slope. In our case, it would be
4/3.
Then find the y-intercept using any point on the line. Say we use point (1,2).
b = y - mx
-> b = 2 - (4/3)1
-> b = 2 - (4/3)
Since (4/3) comes out to 1.33333..., just leave it at that.
Then just plug that into y = mx + b and solve, and this time the X and Y variables are the point you're trying to find (3,y):
y = (4/3)3 + [2 - (4/3)]
y = 4 + [2 - (4/3)]
comes out to about 4.67

You can use any point on the line to find the y-intercept because the line's y-intercept should obviously never change.

-ThinkDigital