Jordan bought 3 bags of chips and 4 bars of chocolate and paid $7.25. Diego bought 2 bags of chips and 3 bars of chocolate and paid $5.25. What is the cost of a bag of chips and a bar of chocolate?