Irene had 5q dragonfruits. She bought another 3 dragonfruits and gave 3q dragonfruits to her cousins. Irene's sisters then ate half of the remaining dragonfruits. How many dragonfruits had she left? Give your answer in terms of q in the simplest form.