How to design and calculate for this type of question?

How to design and calculate for this type of question?

@imk_consult, you could do this by following our support article Adding Calculations and Constraints in a Matrix Question.