Bella went to the grocery store for her parents. She bought 3 boxes of spaghetti,2 jars of marinara sauce for$2.49 each and a bag of frozen meatballs for$5.75. If she spent a total of $23.48, how much did each box of spaghetti cost. What does x represent?