Let the number of dimes = x
Then the number of nickels = x + 2
And the number of pennies = 3x
And we have
10x + 5(x + 2) + 3x = 64 simplify
10x + 5x + 10 + 3x = 64
18x + 10 = 64 subtract 10 from each side
18x = 54 divide both sides by 18
x = 3 this is the number of dimes
x + 2 = 3 + 2 = 5 = the number of nickels
3x = 3(3) = 9 = the number of pennies
