What you ask cannot be done. You defined the function and then gave data about the function evaluated at a couple of points. What would you say if I took you to a concert where two new bands were playing, but I only let you listen to the first one but asked your opinion on the second one?
Be that as it may, I suspect you meant to say "consider a linear function . If , and ..."
In that case, by substitution:
and
Giving you the following 2X2 linear system:
Solve the system by any convenient means (it lends itself nicely to the elimination method), and once you have the values of and your function is fully defined. After that, evaluating is trivial.
John
My calculator said it, I believe it, that settles it