Jalissa's mom purchased coffee from the local coffee shop. The first cup of coffee was $4.15. Each refill is $1.25. She also decided to get a bagel for $3.50. If Jalissa's mom had 2 refills and a $0.50 discount as part of the rewards program, how much did she spend at the coffee shop?