Answer:
28 bags of each weight
Explanation:
Let x be the number of 2 kg bags and 5 kg bags.
Amount of carrots in x 2-kg bags = 2x kg
Amount of carrots in x 5-kg bags = 5x kg
Total amount in all bags = 2x + 5x = 7x kg
A farmer sells 196 kg of carrots, so
![7x=196](https://img.qammunity.org/2020/formulas/mathematics/high-school/o4tbybo1guum27qkfv40g8rp85jjoi02mx.png)
Divide by 7:
![x=(196)/(7)\\ \\x=28](https://img.qammunity.org/2020/formulas/mathematics/middle-school/tlr9dqwhfoo15gggs9x2aqt4o8lm95licb.png)