If you know two of the points then you can find the slope of the line by finding the slope between the two points. Once you have the slope, write your equation as y=mx+b with the slope written in. Next, plug in one of the points that's on the line into the equation to find the 'b' (y intercept) next write the equation of the line.