Hi Madison G.
You are given total amount of people,12, total budget/total purchase, 9160 and the price per ticket 390 for Coach and 950 for First Class.
You can use a system of equations based on your information
Let x = people who went Coach
Let y = people who went First Class
Equation 1 for the total number of people
x + y = 12
y = 12 - x
Equation 2 for the total cost
390x + 950y = 9160
You can use Substitution or Elimination to solve your problem.
Can you continue the substitution below and solve for x.
390x +950(12 - x) = 9160
Give it a try, if you have any questions just let me know, I hope this helps