Constraint Randomization question

In reply to dave_59:

Hi Dave,

Why should the above method 2 code be divided into 2 parts of randomization and why the repeat needs to be 2. Please let me know.

Thanks