A $1 \mathrm{~m} long wire is broken into two unequal parts \mathrm{X} and \mathrm{Y}. The \mathrm{X} part of the wire is streched into another wire W. Length of W is twice the length of X and the resistance of \mathrm{W} is twice that of \mathrm{Y}. Find the ratio of length of \mathrm{X} and \mathrm{Y}$.