Hello Nicolás,
Of course, you can also do this with the Calculated question. Take question # 7, which is a Calculated question, from the Demo Quiz with all standard Quiz Questions. Let's say we want x (complete beginners) to be a multiple of 10 between 10 and 100, and y (relatively experienced Moodle users) to be a multiple of 10 between 100 and 200.
"Editing a Calculated question" page
Question text: ... In your group you have {={x}*10} complete beginners and {={y}*10} relatively experienced Moodle users.
Answer 1 formula = {x}*10 + {y}*10
"Edit the wildcards datasets" page
Wild card {x}
Range of values: Minimum: 1 - Maximum: 10
Decimal places: 0
Wild card {y}
Range of values: Minimum: 10 - Maximum: 20
Decimal places: 1
With the Formulas question, you just need:
Random variables:
x={10:110:10};
y={100:210:10;}
Question text: ... In your group you have {x} complete beginners and {y} relatively experienced Moodle users.
Answer: x + y