Pregunta de entrevista de Goldman Sachs

Derive the formulas for solving regression coefficients in a simple linear regression model.