MSCI interview question

Explain math behind linear regression and EDA