x counts 9-digit numbers using {1,2,3,4,5,6,7,8,9} with exactly one digit repeated twice (8 distinct digits, one twice, one absent).
Choose digit appearing twice: 9 ways.
Choose absent digit: 8 ways.
Arrange: 2!9! ways.
x=9×8×2!9!=72×181440=13043520.
y counts 9-digit numbers with exactly two digits each repeated twice (7 distinct digits, two appear twice, two absent).
Choose 2 digits for repetition: (29) ways.
Choose 2 absent digits: (27) ways.
Arrange: 2!×2!9! ways.
y=36×21×49!=756×49!.
yx=756×9!/472×9!/2=756×272×4=1512288=214.
Therefore 21x=4y