Let’s give each of those letters a number based on where they are in the alphabet. A is 1, B is 2, C is 3.
Look at the second number of each pair. It counts by 5s. The next number would be 25, corresponding with Y.
The first number in each pair also forms a pattern. See if you can spot it.
I did a weird pattern with my fingers and it worked