I’m not sure I understand your question. When you take the current speed and subtract x, you should be able to set that result back into the current speed. Over time this will continually decrease speed and slow down the vehicle.
Hopefully this helps answer your question, otherwise if you could add more detail to explain what effect you’re trying to get.