A student sells tickets to a school play . Adults ticket cost $8 each , and children tickets cost $5 each. The student sells a total of 12 tickets and collects a total of $72 from the ticket sales. How many adults tickets does the student sell?

1 answer

number of adults -- x
number of chidren -- 12-x

solve for x

8x + 5(12-x)=72