Let's solve the problem using the given conditions. We have:
We are given that the total profit percentage is 6%. Let's set up the equation to find x:
First, we calculate the overall gain:
The total selling price considering a 6% profit would be the cost price + 6% profit:
Let's equate the sum of individual selling prices to the total selling price:
1.08x + 0.9(900 - x) = 954
Expanding and solving the equation:
1.08x + 810 - 0.9x = 954
0.18x = 144
x = 800
Therefore, the quantity sold at a profit of 8% is 800 kg.