Rosemarie took orders for muffins and doughnuts from 18 friends (each person ordered only one item). The doughnuts cost $0.40 and the muffins cost $0.55 each for a total of $9.15. How many muffins did she buy?

(Please show a step by step process on how to solve)