To run it in reverse, you need to define an end point, so you could introduce a new variable, totalDur, for that purpose, and modify one line of the expression to reverse it, like this:
freq = 3;
decay = 5;
totalDur = 3;
t = (inPoint +totalDur) - time;
startVal = [0,0];
endVal = [200,200];
dur = 0.1;
if (t < dur){
linear(t,0,dur,startVal,endVal);
}else{
amp = (endVal - startVal)/dur;
w = freq*Math.PI*2;
endVal + amp*(Math.sin((t-dur)*w)/Math.exp(decay*(t-dur))/w);
}
You could tie any of the variables (first 3 lines) to sliders.