Formula questions: Use same X and Y variable values in different questions?

jimweinrich
Community Novice

I have figured out how to write a Formula question that gives two variables (let's say X and Y), randomly, and then asks students for the answer to something like "What is X + Y?".

But is it possible, in the next question, to ask students "What is X – Y?", but using the SAME values of X and Y given in the previous question?

I found an answer to this question elsewhere (sorry, I can't re-find where I found it) which said it was possible to generate a set of Xs, Ys, and answers (X+Y, X–Y) in a spreadsheet, then use a list function inside Canvas to present these items to students, but I couldn't figure out how it worked. Can anyone answer figure out (from what little I've given here) what that strategy is?