IBM interview question

Formula for linear regression?