how can I solve it.

Step-by-step explanation:
Profit of white cement = 8 per bag
Loss of Grey cement = 5 per bag
A 3000 bags of white cement = 3000 x 8 = 24000
5000 bags of Grey cement = 5000 x 5 = 25000
So the company recieved a loss of $1000
B number of grey bags sold = 6400
= 6400 x 5 = 32000
If there are 4000 white bags = 4000 x 8 = 32000
Then there will be neither loss nor profit