Sarah is a painter who charges a flat fee of $50 plus $20 per hour for her services. If Sarah earned $210 from a single job, how many hours did she work? Let's think step by step and output the final answer within \boxed{}.
user