Pergunta de entrevista da empresa Goldman Sachs

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