Once again, Bob and John went to the candy store. Bob bought 5 pieces of fudge and 4 pieces of bubble gum for a total of $10.10. John bought 4 pieces of fudge and 3 pieces of bubble gum for a total of $7.90. What was the cost of the fudge and the gum