write the equation of a line passing through two given distinct points