Transform.Translate change distance and speed

So basically in my experience with transform.translate you can basically choose how fast it goes. For example, transform.Translate (Vector3(-1,0,0) * Time.deltaTime*distance);, if i had a variable called distance it wouldn’t change the distance, it would just change the speed on how fast it would go. So basically i have a randomized variable and i want it to go the same speed, but different distances. So should i not use transform.translate or is there something else that i should probably use because i want the same speed but different distances.

Distance is a function of speed and time. So if you want the same speed and different distances then you simply need to let the code run for longer.