Ship.Cars interview question

Can you write out the loss function for a linear regression problem