math
posted by amy on .
Adult tickets for a play cost $13 and child tickets cost $10. If there were 22 people at a performance and the theater collected $277 from ticket sales, how many adults and how many children attended the play?

Adult tickets sold = x
Children's tickets sold = y
x + y = 22
13x + 10 y = 277
Solve that pair of equations.
Hint: substitute 22x for y in the second equation, and solve for x. . 
The next step would be
13x + 220  10x = 277
3x = 277220 = 57
Divide both sides by 3 and you have x.
You know how to get y after that. 
Adults= 11 30 total
Child 5