Question 268791
Tickets for a play cost $3 for children and $8 for adults. The theater sold 511 seats for $3058, how many of each type of ticket did they sell?

let number of children's ticket sold be x 
Adult ticket will be 511=x

Amount from selling children'e ticket will be 3x
Amount from selling adult's ticket will be 8*(511-x)
Their sum wil be the total sales


3x+8(511-x)= 3058

3x+4088-8x=3058
-5x=3058-4088
-5x=-1030
x=1030/-5

x=206

511-206= 305