How to constrain 2 dynamic arrays to related to each other?

In reply to mlsxdx:

Still waiting for the response. Can somebody help on this?