Let
-
The total number of bills:
-
The total value of the bills:
Now we can solve these equations step by step.
From the first equation, we can express
Next, we substitute
Now that we have
Thus, Hermione has:
- 5 $1 bills
- 7 $5 bills
The answer to how many $5 bills Hermione had is: