Therefore, the number of bags of chips Casey buys if each sandwhich cost three times as much as a bag of chips is 6 bags of chips.
Cost of sandwiches = 3y = $6
3y = $6
y = $6/2
y = $3
Total spent = (Cost of each bag of chips × Number of bags of chips) + (Cost of sandwiches × Number of sandwiches bought)
42 = (y × x) + ($6 × 5)
42 = (2 × x) + 30
42 = 2x + 30
42 - 30 = 2x
12 = 2x
x = 12/2
x = 6 bags of chips
Therefore, the number of bags of chips Casey buys if each sandwhich cost three times as much as a bag of chips is 6 bags of chips
Learn more about equation:
https://brainly.com/question/2972832
#SPJ1