Writing Equations from two points