A bakery sells cakes at different prices depending on their flavors. A chocolate cake costs $4.75, a vanilla cake costs $3.50, and a red velvet cake costs $5.25.
One day, a customer buys:
3 chocolate cakes
2 vanilla cakes
1 red velvet cake
What is the total cost of the cakes bought by the customer?