need help asap!!!

Write and solve an equation for each situation. Be sure to define your variable.

Herman rents a bike for a set fee of $5 and a rate of $3 an hour. Jan rents a bike for $17. How many hours did she rent a bike for?

Jayson has 97 tickets to give away. He gave 4 tickets to each student in his class and has one leftover.
How many students in his class?