The school purchased 35 tickets for the ballet. Adult tickets were $10, and student tickets were $7. The total cost was $266.
If x represents the number of adult tickets purchased, and y represents the number of student tickets purchased, which system of equations represents this situation?