Want personid and names to appear from repeated group to other repeated group

Hi,
I want person id from group_block3 to appear in block 9 by default against personid and names. I have applied indexed-repeat but I am unable to get the desired result. Please see the excel file.
new (2).xlsx (11.1 KB)

Maybe the following can hrlp you: https://docs.getodk.org/form-repeats/.
You can also find other examples with the search function of this forum, please.

I want name to appear as the value for an answer