Final answer:
To find the number of each kind of bill, we can set up a system of equations. By multiplying and subtracting the equations, we can find the solution.
Walter has 80 $5 bills and 44 $10 bills.
Step-by-step explanation:
Let's say the number of $5 bills is x and the number of $10 bills is y.
Then we can set up the following equations:
x + y = 124 (equation 1)
5x + 10y = 840 (equation 2)
We can solve this system of equations by either substitution or elimination method.
Let's use the elimination method.
Multiply equation 1 by 5 to make the coefficients of x the same in both equations:
5x + 5y = 620 (equation 3)
Subtract equation 3 from equation 2:
5x + 10y - (5x + 5y) = 840 - 620
5y = 220
y = 44
Substitute y = 44 into equation 1:
x + 44 = 124
x = 80
Therefore, Walter has 80 $5 bills and 44 $10 bills.