Let d = number of dimes
Let n = number of nickels
Let p = number of pennies
As given, there are two more nickels than dimes and three times as many pennies as dimes:



Plug in the value to find d




As p=3d
p=

As n=d+2

Hence, there are 5 nickels, 3 dimes and 9 pennies.