A streaming service charges a monthly membership fee and an additional cost per movie rented. The total monthly bill, in dollars, is represented by the function , where is the number of movies rented. If a customer's total bill for a month was $49, how many movies did they rent?