The scale expression might be like this (for linear keyframes):
txt1 = comp("Control").layer("first keyframe").text.sourceText;
txt2 = comp("Control").layer("second keyframe").text.sourceText;
s1 = parseFloat(txt1);
s2 = parseFloat(txt2)
linear(time,key(1).time,key(2).time,[s1,s1],[s2,s2]);
The linear wipe expression could be similar, but it might be more complicated, depending on what kind of ease the keyframes have.