The bill for the repair of a car was $420. The cost of the parts was $240. The cost of labor was $45 per hour. How long did the repair take?