Mark spent 220 dollars to fix his car. It needed two parts that cost 20 dollars each, and labor cost .5 dollars a minute. How many hours did the mechanic work?