I don't know how to move smoothly an object to a fixed distance.

Firstly, please use code tags . Your pasted code is being cut off.

Secondly, I see you have a sidewaysSpeed value. That’s good. Just multiply that into your transform.right*Time.deltaTime lines. If you want to go slower, use a speed value of 0.5 to halve the speed, etc.