Let be the number of adults, and be the number of students.

The total amount made from the tickets was $2074. Since the student tickets were $3 and the adult tickets were $5, then we see that

This is the first equation

I leave it for you to come up with the second one. It should be a piece of cake.

--Chris