equation of a line passing through two given points