Ivan wants to rent a boat and spend less than $31. The boat costs $8 per hour, and Ivan has a discount coupon for $9 off. What are the possible numbers of
hours Ivan could rent the boat?

Write your answer as an inequality solved for t.