Changing the motor speed of obstacle avoiding robot

Hi, thanks for the fast reply

I'm not using those 9v square bateries, i use two pair of two lithium batteries (18650 used in laptops) connected in series

here the youtube project that i use