At a graduation dinner, an equal number of guests were seated at each of 3 large tables and 7 late-arriving guests were seated at a smaller table. There were 37 guests in all. If n represents the number of people seated at each of the large tables, what equation represents the situation?