where and are the coordinates of the given points.
However, please note that you cannot write "the" equation of any line. You can only write "an" equation of a line. In the first place, you could just substitute the values in the two point form and have an equation of the desired line, or you could solve for to put it into slope-intercept form, or you could rearrange it into standard form, namely . Furthermore, for a given , , and , where describes a set of equations with an infinite number of elements, each of which graphs to the same line in .
My calculator said it, I believe it, that settles it