Here is how to manually find the least-squares fit line for a set of points so that you can write the best possible linear model for your data.