Given two points, say points A and B, we can use the slope formula to find the slop of the line:
[tex] \frac{y_{2} - y_{1}}{x_{2} - x_{1}} [/tex]
If A has coordinates of (w,c) and B has coordinates of (y,z), we can find the slope.
[tex] \frac{z-c[tex]y-w= \frac{z-x}{y-w} (x-c)[/tex]}{y-w} [/tex]
Now we can say that we can use the point slope form formula:
[tex]y-y_{1}=m(x-x_{1})[/tex]
Now we can substitute m for the slope, and use any points to plug in [tex]x_{1}[/tex] and [tex]y_{1}[/tex].
Hope this helps! :^)