Letters: A,B,C,D,E,F,G,H,I,J (10 letters), length 10
x=#{no letter repeated}
y=#{exactly one letter twice, others distinct}
To find: 9xy
x=10P10=10!
choose the repeated letter: 10 ways
choose the other 8 distinct letters from remaining 9: 9C8=9
arrange: 2!10!=210!
y=10×9×210!=45×10!
9xy=9×10!45×10!=945=5