For a school drama performance, student tickets cost $5 each and adult tickets cost $10 each. The sellers collected $3,570 from 512 tickets sold. If c is the number of student tickets sold, which equation can be used to find the amount of tickets sold of each type?
a.10(512 – c) + 5c = 512
b.10(512 – c) + 5c = 3,570
c.5(512 – c) + 10c = 3,570
d.5(512 – c) + 10c 512
a.10(512 – c) + 5c = 512
b.10(512 – c) + 5c = 3,570
c.5(512 – c) + 10c = 3,570
d.5(512 – c) + 10c 512