Emma runs a small bakery and sells cookies. Each cookie costs $0.50 to make. She sells a dozen cookies for $10. One day, she made 5 dozen cookies. However, she ate 3 cookies and gave away 9 cookies to her friends. How much profit did she make that day? Let's think step by step and output the final answer within \boxed{}.
user