The correct option is B X - Nylon
Y - Cotton
When burnt, cotton produce a smell similar to that of burning paper as it is made of cellulose. But most synthetic fibers like nylon and polyester, when exposed to fire, burn and melt, and also tend to shrink away from the flame. Hence, X is nylon and Y is cotton.