Answer: 10 $5 bills, and 25 $10 bills.
Explanation:
Let's define the variables:
F = number of $5 bills.
T = number of $10 bills.
We know that he wants to make $300 in total, then we have:
F*$5 + T*$10 = $300
And we also know that in total there are 35 bills, then:
F + T = 35.
So we have the system of equations:
F*$5 + T*$10 = $300
F + T = 35
To solve this, the first step is isolate one of the variables in one of the equations, i will isolate F in the second equation to get:
F = 35 - T
Now we can replace that in the other equation, and get:
(35 - T)*$5 + T*$10 = $300
Now we can solve this equation for T.
$175 - T*$5 + T*$10 = $300
T*$5 = $300 - $175 = $125
T = $125/$5 = 25
and:
F = 35 - T = 35 - 25 = 10
Then he has:
10 $5 bills, and 25 $10 bills.