Tammy had 5m pomegranates. She bought another 5 pomegranates and received 2m pomegranates from her students. Tammy's daughters then ate half of the remaining pomegranates. How many pomegranates had she left? Give your answer in terms of m in the simplest form.