How to access dynamically created object IDs?

My AUT has two objects, MyEstate1 & MyEstate2. Each object shares all locators except for the ID which is dynamically created.

On the 1st page load the

ID= MyEstate01 & MyEstate02

On the 2nd page load the

ID= MyEstate01 & MyEstate03


When I use “//[contains(@id, ‘MyEstate’)]" or "//[starts-with(@id, ‘MyEstate’)]” MyEstate01 is clickable.

However I cannot figure out how to access ID= MyEstate02 or MyEstate03. What Xpath syntax should I use to access the 2nd object?

//*[starts-with(@id, 'MyEstate')][1]
//*[starts-with(@id, 'MyEstate')][position()=2]
//*[starts-with(@id, 'MyEstate')][last()-1]

//*[starts-with(@id, 'MyEstate')][last()]

refer to “Predicates” section

Thank you!