Two Reed switches controlling Servo

I am such newbie I have read and tried to make this happen but I need help. I am using the arduino to control a servo using two reed switches(model train). I could get one reed switch to move the servo one way and turn on led but I cannot get the second to move the servo back and turn on led.
This is what I have so far borrowing from a few different sketches.
Again any help appreciated.

Reed_switch_andServoWoking_one_way_only.ino (1.74 KB)

OP's sketch

//Reed_Switch_Example.ino
//Example sketch for SparkFun's Reed Switch
 // (https://www.sparkfun.com/products/8642)
// Lindblom @ SparkFun Electronics
//May 3, 2016

//The reed switch is a two-terminal, magnetically-actuated, normally-open switch.
//Connect one end of the switch to ground, and the other to Arduino's D2 pin.

//The D2 pin's internal pull-up resistor is used to bias the pin high. When the
//switch closes, the pin should go low.

//Development environment specifics:
//Arduino 1.6.7
const int REED_PIN = 2; // Pin connected to reed switch
const int REED2_PIN = 4; // Pin connected to reed switch connected second reed pin
const int LED_PIN = 13; // LED pin - active-high
#include <Servo.h>
Servo myservo1;

int pos = 0;

void setup() 
{
  Serial.begin(9600); 
  // Since the other end of the reed switch is connected to ground, we need
  // to pull-up the reed switch pin internally.
  pinMode(REED_PIN, INPUT_PULLUP);
  pinMode(REED2_PIN, INPUT_PULLUP);
  pinMode(LED_PIN, OUTPUT);
  myservo1.attach(9);  // attaches the servo on pin 9 to the servo object
}
void loop() 
{
  int proximity = digitalRead(REED_PIN); // Read the state of the switch
  if (proximity == LOW) // If the pin reads low, the switch is closed.
  int proximity = digitalRead(REED2_PIN); // Read the state of the switch
  int(proximity == LOW) // If the pin reads low, the switch is closed
  {
    Serial.println("Switch closed");
    digitalWrite(LED_PIN, HIGH); // Turn the LED on
    myservo1.write(pos-30); //goback to pos plus 5 degrees
    myservo2.write(pos+30); //goes back to pos with second reed switch   
  }
  else
  {
    digitalWrite(LED_PIN, LOW); // Turn the LED off
   //myservo1.write(pos); //goback to pos which is 0
  }
}

You first have to fix the sketch so it compiles.

  int proximity = digitalRead(REED_PIN); // Read the state of the switch
  if (proximity == LOW) // If the pin reads low, the switch is closed.
  int proximity = digitalRead(REED2_PIN); // Read the state of the switch
  int(proximity == LOW) // If the pin reads low, the switch is closed

Not the way to do things. You should first read both pins and only then do you start the if statements to check their states. And I can guess that the 4th line was meant to be 'if' not 'int' but the compiler can't.

Steve