A new car worth 45K is depreciating in value by 5K per year. How can I write a formula that models the cars' value,y, in dollars, after x years?Then using the formula determine after how many years the cars' value will be 9K.

y = 45 - 5x

Insert the value for y and calculate.