DRW interview question

Linear regression problem, then a brain teaser