Pam rented a bike from Jim's bike shop. Jim charges a rental fee of $6 and then $3 per hour
to rent the bike. If Pam paid $27, for how many hours did she rent the bike?