Cost price of goods = Rs.800
Cost price of of goods = = Rs.200
Gain percentage = 12%
So, selling price of of goods = = Rs.224
And cost price of of goods = = Rs.400
Loss percentage = 10%
So, selling price of of goods = = Rs.360
So selling price of of goods = Rs.224 + Rs.360 = Rs.584
And cost price of remaining goods = Rs.800 - (Rs.400 + Rs.200) = Rs.200
To have a gain of 8% on whole goods, the selling price of whole goods = = Rs.864
So, Rao should sell the remaining goods at price = Rs.864 - Rs.584 = Rs.280
Means to have profit of 8%, net profit on remaining goods = Rs.280 - Rs.200 = Rs.80
Therefore required profit percentage =