Rafael got 3 boxed candies and 1 bag of chips for $6.99. His sister got 2 bags of chips and 1 boxed candy for $5.98. Find the cost for 1 of each of these items in dollars.