Aliyah's Bikes rents bikes for $10 plus $5 per hour. Shayna paid $45 to rent a bike. For how many hours did she rent the book?