contestada

please help
An auditorium sold 500 tickets for a play and raised $3400. Let x represent the number of adult tickets sold at $8 each and let y represent the number of student tickets sold at $5 each. Write and solve a system of equations to determine the number of adult tickets and the number of student tickets that were sold.