Cannot understand input -> output conversion

I watched video-explanation provided, but in that explanation input and output are same.

Here sample input is given as -

5
(6 4) (4 0) (8 4) (9 1) (6 2)

And sample output as -

(6 6) (4 6) (8 6) (9 4) (6 8) 

When we are just making deep copy of given linked-list, then how this (6, 4) --> becomes (6, 6)

OR how (4,0) --> becomes (4,6) in the output

It means that it’s a-pair of val and index where 6 random pointer is connected with 4th index , where Value of 4th index is 6. So this depicts (6,6) here.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

Thanks for helping, you have cleared my doubt.