Gopi consumed 5 bags of cheeseburgers and 4 bags of potatoes
Step-by-step explanation:
x = number of bags of cheeseburgers
y = number of bags of potato chips
Cheeseburgers: 18 grams of fat, 255 calories
For x number of bags: 18x grams, 255x calories
Potato chips: 19 grams of fat, 305 calories
For y number of bags: 19y grams, 305y calories
Total fat consumed = 166
Total calories consumed = 2495
The equation for total fat:
18x + 19y = 166
The equation for total calories:
255x + 305y = 2495
Writing in matrix form:
Hence, Gopi consumed 5 bags of cheeseburgers and 4 bags of potatoes