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