This can be done by calculating the slope between two known points of the line using the slope formula. Find the y-intercept. This can be done by substituting the slope and the coordinates of a point (x, y) on the line in the slope-intercept formula and then solve for b.