There were 29 nickels and 10 dimes in the bank.
We know that:
1 dime = 5 cents
1 nickel = 10 cents.
Also, $ 3.40 = 340 cents
Let the number of nickels be n and the number of dimes be d.
Now, we are given that:
5 dimes and 2 nickels were taken away.
So, total coins = 46 - 2 - 5 = 46 - 7
Total coins = 39
We get the equation:
n + d = 39
d = 39 - n
Now, we also know that:
5 d + 10 n = 340
d + 2 n = 68
Put the value of d, we get that:
39 - n + 2 n = 68
n = 68 - 39
n = 29
d = 39 - n
d = 39 - 29
d = 10
Therefore, we get that, there were 29 nickels and 10 dimes in the bank.
Learn more about equation here:
https://brainly.com/question/1214333
#SPJ9