A company provides bus trips to various events. The company charges $15 for each adult, a, and $8 for each child, c, for a trip. For an upcoming event, the company will provide transportation for 40 people and will earn $390. Which system of equations represents this situation?