The cost that a carpet cleaning company charges is directly proportional to the number of rooms cleaned. The cost is $30 for each room. (a) (2 points) Write a direct variation equation to represent the cost. (b) (2 points) How many rooms can a hotel pay the company to clean for $345?