A vendor bought two varieties of tea, brand A and brand B, costing Rs. 15 per 100 g and Rs. 18 per 100 g, respectively, and mixed them in a certain ratio. Then, he sold the mixture at Rs. 20 per 100 g, making a profit of 20%. What was the ratio of brand A to brand B tea in the mixture?