When finding the gradient, it's best to pick two points on the line rather than picking two data points. The data points generally don't lie directly on the best fit line. Also, it's best to pick two points fairly far apart.