Brenna is in the orchestra at her school. Both the orchestra and the band, along with any parents who want to go, are taking a field trip to a symphony. The orchestra purchases 24 student tickets and 8 adult tickets for $512. The band purchases 30 student tickets and 15 adult tickets for $765. This system of equations can be used to represent the situation: 24x+8y=512 30x+15y=765