Surfside Bike Rental Shop charges a $20 fixed fee plus $5 per hour for renting a bike. Alyssa paid $50 to rent a bike. How many hours did she pay to have the bike rented?

A 10 hours

B 2.5 hours

C 4 hours

D 6 hours