IBM Interview Question

Formula for linear regression?