A family reunion of 27 decided to go to Six Flags Magic Mountain. Adult tickets cost $40 each and child tickets cost $30 each. The total cost of all tickets was $930. Use the SUBSTITUTION METHOD to determine how many adults and how many child tickets were purchased?