I think InOutExpo would be like this:
function myEase(curT,t1,t2,val1,val2){
if(curT <= t1)return val1;
if(curT >= t2)return val2;
dtEase = t2 - t1;
dvEase = val2 - val1;
tEase = (curT-t1)/dtEase;
if(tEase < .5) return val1 + (dvEase/2)*Math.exp(10*(2*tEase-1));
return val1 + dvEase*(1-Math.exp(10*(1-2*tEase))/2);
}
startmarker = thisComp.marker.key(1).time;
endmarker = thisComp.marker.key(2).time;
xinposition = thisComp.layer("IN").transform.position[0];
yinposition = thisComp.layer("IN").transform.position[1];
xoutposition = thisComp.layer("OUT").transform.position[0];
youtposition = thisComp.layer("OUT").transform.position[1];
x = myEase(time, startmarker, endmarker, xinposition, xoutposition);
y = myEase(time, startmarker, endmarker, yinposition, youtposition);
[x,y]