a local movie theater charges $6 for each adult ticket and $3.50 for each child ticket. It's a theater sold a total of 65 adult and child tickets for a total of $340, how many adult tickets were sold?​