The cost to repair linda's car is $500, including parts and labor. the cost of parts is $140. if the cost of labor is $40 per hour, how many hours of labor did the repairs take?