Step 1: Motors
Step 2: Chasis
Step 3: Sensors
Step 4: Driver
Step 5: Connections
ir sensor 1 out to L298N in2.
ir sensor 2 out to L298N in4.
motor 1 terminals to L298N out 1 and out 2.
motor 2 terminals to L298N out 3 and out 4.
Vcc and ground of L298N to ir sensor Vcc and ground.
Vcc and ground of L298N to battery.
Step 6: Placing
The distance between the sensors should be less then 4cm.
The sensors should be placed just after the wheels so that there will be fast action.