I think this may be close to what you want:
#include <Servo.h>
Servo myservo1; // create servo object to control a servo
Servo myservo2;
int potpin = 0; // analog pin used to connect the potentiometer
int val; // variable to read the value from the analog pin
int Servo1Pos;
int Servo2Pos;
void setup()
{
myservo1.attach(9); // attaches the servo on pin 9 to the servo object
myservo2.attach(10);
}
void loop()
{
val = analogRead(potpin); // reads the value of the potentiometer (value between 0 and 1023)
Servo1Pos = map(val, 460, 661, 0, 180); // scale plus/minus 20% 0 and 180
if(val < 460)
Servo2Pos = map(val, 0, 460, 0, 89);
else if( val > 661)
Servo2Pos = map(val, 661, 1023, 91, 180);
myservo1.write(val); // sets the servo position according to the scaled value
myservo2.write(val);
delay(20); // Servo updates every 20ms
}
The servo library constrains the value written between 0 and 180 so its ok to give it out of range values (as will happen with servo1Pos).
You may need to adjust the actual physical movement using the attach method, not all servos can actually move 180 degrees.
Have fun