and just subtract total travelled distance of car 1 after 2.5 hours. then subtrct it from the total distance and with the remaining distance solve for speed of other car which is distance over time.
When the value of something decreases by a certain factor every unit of time, instead of by a set constant, then this is called exponential decay. When the rate is constant, this is called linear decay. Hope this helps!