What is the equation to find points on a line? My problem is that I need to draw a line with a variable slope and y intercept. Does anyone have any idea how to figure out the co-ordinates to begin and end the line on. I know the equation y=mx+b (where x and y are any real numbers, m is the slope, and b is the Y intercept) but how can I use that to fine the points to start and end my line on if Im only given m and b?