Madison went to the grocery store and purchased cans of soup and frozen dinners. Each can of soup has 500 mg of sodium and each frozen dinner has 700 mg of sodium. Madison purchased 2 more frozen dinners than cans of soup and they all collectively contain 7400 mg of sodium. Determine the number of cans of soup purchased and the number of frozen dinners purchased.
x = soup cans sodium = 500x
x+2 = dinners sodium = 700(x+2) summed = 7400
500x + 700(x+2) = 7400 solve for x = #cans of soup then dinners = x+2