Let x = number of nickels
Then 0.10x = number of quarters
Value of nickels + value of quarters = 5.25
Since each nickel is worth $0.05, the value of the nickels is 0.05x. Similarly, the value of the quarters is $0.25(0.10x).
So, 0.05x + 0.25(0.10x) = 5.25
0.05x + 0.025x = 5.25
0.075x = 5.25
x = 70
He has 70 nickels and 7 quarters.