increasing the range of linear motion using servomotor

If your servo can rotate 180 degrees then you need a servo arm / crank with a length at least half your required total travel and orient it so that at the limits of rotation the servo arm is pointing directly towards and away from the direction of your linear travel.

Note that the longer the servo arm, the less force it will be able to apply.