Assuming that the above relation does, in fact, give a line your slope can be computed by picking any two points and put it through the slope formula, as you suggested.

Now we have the slope-intercept form for a line:

where the y-intercept is the point (0, b). Pick an arbitrary point from your set and plug it into this equation. Solve for b.

-Dan