Adjusting an audio's Playback speed based on a vehicle's speed within a set margain

I have no idea how to approach this problem.

The idle playbackspeed for the vehicle is 0.8. The maximum playback speed I want possible is 1.4.

I’m not sure how to adjust the audio according to the vehicle’s speed. Is there a property in VehicleSeat for this? What math do I need to use? I hope this makes sense.

Divide the average playbackspeed by the average vehicle speed

Loop multiply average vehicle speed with the number you got

If returned number smaller than minimum, make it the minimum, if it larger than max, make it the max