.
4x + 7*(5000-x) = 21500 ("money" equation)
4x + 35000 - 7x = 21500
-3x = 21500 - 35000 = -13500 ====> x = = 4500.
Answer. 4500 student tickets and 5000-4500 = 500 non-student tickets were sold.
Check. 4*4500 + 7*500 = 21500 dollars. ! Correct !
Solved.
--------------
It is a standard ticket problem.
Read the lessons
- Using systems of equations to solve problems on tickets
- Three methods for solving standard (typical) problems on tickets
in this site.
Learn from these lessons on how to solve such problems once for all.
Also, you have this free of charge online textbook in ALGEBRA-I in this site
- ALGEBRA-I - YOUR ONLINE TEXTBOOK.
The referred lessons are the part of this online textbook under the topic "Systems of two linear equations in two unknowns".