Exactly 512 tickets were sold for the talent show at Cypress Middle School. The number of student tickets sold was three times the number of adult tickets sold. How many adult tickets were sold? Write the system of equations:​

Q&A Education