Calculate the equation of a line from two points. Approximate a best fit line/curve on a scatter plot.