Filter in multiselect

Hello, I have a problem, I have 2 identical multiple selection questions, but the options that are shown in the second question depend on the first, that is, in the second question only the options selected in the first appear.
At the same time, they have the order of importance option marked.
Question(1)Select product categories
1- Dry CV milling

16 - Rice milling

Question (2) Select the 3 most important based on what was selected in Question (1)

and only the options that I marked in Question (1) appear there, which can be all or some.

Use one question with recording answers order. Instruct to select in order of importance.