Use points A and B to move the line to try to minimize the squared distances from the data points to the line.
When you think you have, check your work by showing the Best Fit Line. This is why the Best Fit Line is also called the Least Squares Line. Move the data points and try it again.