If 40% of one-quarters of a number is equal to two-third of 20% of another number, what is the ratio of the first number to the second number?