Which system of equations can be used to solve the following problem? Each child ticket for a ride costs $3, while each adult ticket costs $5. If the ride collected a total of $150, and 40 tickets were sold, how many of each type of ticket were sold? Let c be the number of child tickets and a be the number of adult tickets.