Get xpath location

Hi, I want to copy text of a relative element to be saved in csv.

I have a list in csv containing text (A)

I searched (A) in webpage,

(B) is located in the same row as (A) which can be targeted by xpath of (A)

Ultimately I will write (B) next to (A) in the CSV.

My problem is everytime (A) is searched in page, I am unable to save the xpath of (A) which could be used to locate (B).

Thanks in advance.

Similar to this

{
“Name”: “xpathcontains”,
“CreationDate”: “2020-6-1”,
“Commands”: [
{
“Command”: “open”,
“Target”: “https://free-proxy-list.net/”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “xpath=//[@id="proxylisttable"]/tbody/tr[1]/td[1]",
“Value”: “”
},
{
“Command”: “click”,
“Target”: "xpath=//
[@id="proxylisttable"]/tbody/tr[2]/td[3]”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “xpath=//[@id="proxylisttable"]/tbody/tr[1]/td[3]",
“Value”: “”
},
{
“Command”: “click”,
“Target”: "xpath=//
[@id="proxylisttable"]/tbody/tr[2]/td[1]”,
“Value”: “”
},
]

/tr[2]/… of (A) Is the value I want to get before I can proceed further, that row number is same for (B) as well so that …/tr[2]/td[3]… could be reached

Post url page, need more info, your question is too limited