Controlling micro servos with an MQ6 gas sensor

if (gasLevel > highLevel) moveServoBack()
if (gasLevel < lowLevel) moveServoForth()

That's how you tell the Arduino to move a servo back and forth based on the gas level.