Need help with CODE that connects MQ-7 to Character LCD

Hello, I'm currently using this wiring to connect the MQ-7 and LCD together, but I can't get the code working
Link to wiring

Currently this is the Code, and I'm using it from the tutorial

int mqx_analogPin = A0; // connected to the output pin of MQ-X

void setup(){
  Serial.begin(9600); // open serial at 9600 bps
}

void loop()
{
  // give ample warmup time for readings to stabilize

  int mqx_value = analogRead(mqx_analogPin);
  Serial.println(mqx_value);

  delay(100); //Just here to slow down the output.
}
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
{
  lcd.begin(16, 2);
  // Print a message to the LCD.
  lcd.print("CO ppm");
}

void loop()
{
  // give ample warmup time for readings to stabilize

  int mqx_value = analogRead(mqx_analogPin);
  lcd.setCursor(0, 1);
  lcd.print(mqx_value);

  delay(100); //Just here to slow down the output.
}

I keep getting errors, and can guys you help me get the code working please
Link to Tutorial, and the code is from the tutorial

hi.
all librarys need to be declaired above the void setup().
and its only allowed to create a Void function one time!

#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);


byte mqx_analogPin = A0; // connected to the output pin of MQ-X
/* or 
#define mqx_analogPin A0
const byte mqx_analogPin = A0;
this way it doesnt take any variable memory from you arduino.
*/
int mqx_value; // this is a global variable

void setup() {
  Serial.begin(9600); // open serial at 9600 bps

  lcd.begin(16, 2);
  // Print a message to the LCD.
  lcd.print("CO ppm");
}

void loop()
{
  // int mqx_value; // or you make it a local variable.
  // give ample warmup time for readings to stabilize

  mqx_value = analogRead(mqx_analogPin);
  Serial.println(mqx_value);
  lcd.setCursor(0, 1);
  lcd.print(mqx_value);
  delay(100); //Just here to slow down the output.

}

Thanks!