Predict Price of a car

A working professional who has just started his career wanted to purchase a used car for commuting between home and office. He believed that the number of kilometers the cars were driven influenced the purchase price of the car. He visited various used car showrooms and collected the data for kilometers driven and the price of the car. The data are as follows:

Price ( in Lakh Rupees)

Kilometer (in Thousand)

Price ( in Lakh Rupees)

Kilometer (in Thousand)

2.59

36.6

7.6

36.4

5.02

20.4

8.2

28.2

7.5

31.6

3.2

45.3

2.92

45.9

3.5

38.3

8.55

10.8

5.74

35.2

a. Calculate the least squares equation that can be used to predict the price of the car.

b. The professional would like to purchase a car that was driven 25,000 km. How much is the predicted price of the car?