math
posted by alex .
you have 40 coins, quarters dimes and nickles and they equal $6.00. you have two more quarters then nickles. how many of each do you have

let the number of nickels be x (nickels, not nickles)
then the number of quarters is x+2
then the number of dimes is 40  x  (x+2)
or 382x
5x + 25(x+2) + 10(382x) = 600
solve 
Let q = number of quarters
let d = number of dimes
let n = number of nickels.
=================================
q + d + n = 40
0.25q + 0.10d + 0.05n = 6.00
q = n+2
=========================
Solve for the three unknowns. Check my thinking.