A dog walker earns $15 per hour. She also earns $12 per hour for babysitting. She wants to earn at least $300 next week, but can work no more than 30 hours. How many hours does she work both jobs?