Komal bought 20 kg rice for Rs 30 per kg, b kg rice for Rs 35 per kg and (b + 4) kg rice for Rs 25 per kg. She mixed all type of rice together and the average cost price of 1 kg rice is Rs 29.6. Find the quantity of rice that is bought at Rs 25 per kg.