The bill (parts and labor) for the repair of an automobile was $395. The cost for parts was $185. The cost of labor was $30 per hour. Let x represent the number of hours of labor. Write an equation that represents the total bill for the repair of the automobile.