Tickets for a concert costs $2 each for children and $5 each for adults. A group of thirty people consisting of children and adults paid a total of $87 for the concert. How many adults were in the group?

1 answer

number of kids ---- x
number of adults --- 30-x

2x + 5(30-x) = 87

solve for x and the mystery is solved.