You have 84 coins, in dimes or nickles that equal $7.15, how many dimes and nickles

let the number of nickels be x

then you have 84-x dimes

5x + 10(84-x) = 715

solve for x