mary bought a soft drink for 2 dollars and four bags of chips she spent a total of six dollars how much did the bag of chips cost?