equation of a line (−2, 1) and (1, 10)