Explain the method of least squares for fitting a regression line.
What is the regression model when there is perfect linear correlation between X and Y?