Answer:
5 hours
Explanation:
First, you have to subtract the fixed fee of $15 to the total amount that Melanie paid. This has to be subtracted since one has to pay for this every time he/she rents a bike.
Next, you have to divide $45 by $9/hour in order to know how many hours Melanie rented the bike.
Therefore, Melanie had the bike checked out for 5 hours.