Not quite. The answer is C.
How to solve it
A positive charge tells you how many more protons an ion has than electrons. Since both ions have 10 electrons, X²⁺ has 12 protons and Y⁺ has 11. The extra proton in X²⁺ pulls the same number of electrons closer to the nucleus, giving X²⁺ a smaller radius.