Question 1056875

Dave sold 40 tickets for a concert.  He sold x tickets at $2 each.  The rest of the tickets he sold for $3 each.  If he collected $88, how much of each type of ticket did he sell?
<pre>Number of $2 tickets sold: x
Number of $3 tickets sold: 40 - x
Cost of $2 tickets: 2x
Cost of $3 tickets: 3(40 - x), or 120 - 3x
We then get the following PROCEEDS equation: 2x + 120 - 3x = 88
2x - 3x = 88 - 120
- x = - 32
x, or number of $2 tickets sold = {{{highlight_green(matrix(1,3, (- 32)/(- 1), 
or, 32))}}}
Number of $3 tickets sold: 40 - 32, or {{{highlight_green(8)}}}