Another ticket name-change question....
For the first name change just contact Aeromexico directly. Use the official site because there are lots of name-change scam sites and scammers.......
For the second name change just contact Ryanair directly. Use the official site because there are lots of name-change scam sites and scammers.......
https://help.ryanair.com/hc/en-gb/sections/12488747381265-Making-a-Name-Change