A local bakery sells cupcakes at a price of $3.50 each. The bakery decides to offer a promotion where customers can buy 5 cupcakes for the price of 4.
If a customer buys 10 cupcakes under this promotion, how much will they pay in total?