Let's look at car A first.
As already solved, just after it is purchased its value decreases 20%.
Purchased at $30000, its value inmediatly decreases to $24000 ($30000 -
0.2*$30000 = $24000).
We know the yearly depreciation for car A os $2000.
Then, at the end of the first year, its value will decrease from $24000 to $24000 - $2000 = $22000.
Every year its value decreases $2000. Followint the same logic, at the end of the second year its value will decrease from $22000 to $22000 - $2000 = $20000 and so on. Now, we can build the table:
End of first year: $24000 - $2000 = $22000
End of second year: $22000 - $2000 = $20000
End of third year: $20000 - $2000 = $18000
End of fourth year: $18000 - $2000 = $16000
End of fifth year: $16000 - $2000 = $14000