To check out a customer, a grocery store cashier needs 2 seconds to scan each item being purchased, as well as 30 seconds to process payment. Write an equation that shows how the total time in seconds, y, depends on the number of items the customer is purchasing, x.