For Car A:
Initial depreciation = 30000(0.25)
= 7500
Cost = 30000 - 7500
= $22500
Equation = Cost = $22500 - 2000t This is the equation for Car A
For Car B
Initial depreciation = 25000(0.1)
= 2500
Cost = 25000 - 2500 = 22500
Equation Cost = 22500 - 1500t This is the equation for Car B