Pregunta de entrevista de DRW

Calculate the coefficient for a linear regression problem.