The local bike shop rents bikes for $18 plus $6per hour. Bill paid $36 to rent a bike. For howmany hours did he rent the bike for?