You can't do that. You cannot write the equation of a line. There are an infinite number of representations of any given line, hence the best you can do is write an equation of the desired line.
Use the point-slope form of an equation of a line:
where are the coordinates of the given point and is the given slope.
John
My calculator said it, I believe it, that settles it