Answer:
see attached picture
Step-by-step explanation:
An algorithm would be:
if hours < 10 then bonus = 0
else if hours <= 15 then bonus = 1000
else if hours <= 20 then bonus = 1500
else if hours <= 25 then bonus = 2000
else if hours <= 30 then bonus = 3000
else bonus = 5000