Robert Bosch Interview Question

How does linear regression work?