linear regression examples and solutions