In this problem
we have an exponential decay function of the form

where
y is the value of the car
x is the number of years
a is the initial value
r is the rate
we have
a=$30,319
r=10%=10/100=0.10
substitute given values

For x=2 years
substitute

y=$24,558.39