ok i understand you know, the only problem now is how i will connect the gas sensor
You aren't listening. The GSM shield simply passes the analog pins to the top. It makes no connection to the analog pins. So, simply connect the gas sensor just like you would if the damned shield wasn't there.