get right rpm in mq sensor please help

Please post a link to the datasheets for the sensors you are using.

Also post the program you have tried and tell us what it actually does and what you want it to do that is different.

...R