Mary orders two pieces of toast and a bagel at a cafeteria; the total is $3.15. The total for Gary's order of a bagel and a muffin is $3.50. The total for Larry's order of a slice of toast, two bagels, and three muffins is $8.15. How much is a bagel in cents.