In your testSuite create a new PropertyTransfer step (don't forget to place it between your response and your new request steps).
Fill a new name. Choose the "source" request and the "Response" property.
Fill the code (don't forget to create namespace with the "ns" button)
Check the "Use Xquery" box.
To fill the code, for example in your code you want the 5th entry so below the namespace your have:
//entry[5]/value
Choose the Target request and the "Request" property. Fill the code (namespace and Xpath) to have this dynamic value in the correct field.
It's the same things for the second fill (new property name) and the code will be the same except "[6]" instead of [5].
I hope that will help you.