Trianz Interview Question

Linear regression in detail and MSE and R2