Income amelia has a job babysitting for a neighbor. She is paid $20 plus $2.50 for each hour on the job. If amelia wants to earn $40 to buy a new sweater, how many hours would she need to work?