Dear Bernat,
I am afraid you may be a genius. This was exactly what I needed! Granted, I changed the fixed numbers into randomized variables and it worked like a charm!
As for the red triangle - I can live with it as long as the quiz works for my students.
Thanks a lot - appreciate your help!