A car rental company charges a fixed fee of $50 plus $10 per hour for renting a car. If a customer has only $150 to spend, for how many hours can they rent the car? Use the slope-intercept form to solve the problem. Let's think step by step and output the final answer within \boxed{}.
user