Writing the equation of the line through two given points