Finding and Writing the equation of a line