Somebody correct me if I am wrong but what you are showing is a linear function and instead you want to solve an exponential one, before writing any code I would suggest to understand the math behind it otherwise you will be stuck again in no time
Here you go:
I personally follow this guy, is pretty good at explaining things
After watching this video try to imagine the sound intensity plotted as this exponential function where y=1 is the idle of the car you should get why you need an exponential function to represent the sound (when you press w to accellerate the sound increases in an exponential way and not in a linear way)