Regression lines

In all the questions where you have to fill in the blanks: do not use use any blanks/spaces in your code!