A grocer sold 100 kg wheat, which is a mixture of type x and type y wheat, for Rs 1100 and earned a profit of Rs 300. If the purchase price of type x and type y wheat were Rs 10 and Rs 5 kg respectively, what was the ratio of type x to type y wheat in the mixture ?