Question 1169475
124 bills
unknown x of 5-dollar
unknown y of 10-dollar
money total value, 840 dollars


You can solve the system as you want.  You should simplify the money equation first.