At a cafeteria, Mary orders two pieces of toast and a bagel, which comes out to 3.15. Gary orders a bagel and four muffins, which comes out to 7.85. Larry orders a piece of toast, two bagels, and three muffins, which comes out to 9.75. How many cents does one bagel cost?