DRW interview question

Calculate the coefficient for a linear regression problem.