Wylie is renting a bicycle from a local shop that charges $5 to rent a helmet, plus an hourly rate of $8.50 for the bike. For how long can Wylie rent a bicycle if he pays a total of $47.50?