We have a couple of tasks for an assignment where we need to use regression analysis and 95% confidence interval, we're not sure on how to do it so figured I'd ask you guys for help.

We don't really need the result of the actual task, but rather an detailed explanation to how to do it. So if you have a formula to do the tasks, a detailed step by step to work with that formula would be much appreciated.

Here's the tasks:

1. Use regression analysis to estimate the price of a car that's 2 years newer than the newest car you've got in your data.

2. Use regression analysis to estimate the price of a car that's 5 years older than your oldest car in your data.

3. Use regression analysis to estimate the price of a car that's new. (Guessing year 2013)

4. Calculate a 95% confidence interval on the difference in price between the 15 oldest cars and the 15 newest cars in your data.

If you guys know how to do any of these, any help is much appreciated.

Thanks in advance!