The compatible number is 8 I hope I helped.
Now, the nickels and dimes are at ratio of 3:2. However, the total amount is in dollars. So let's convert all amounts to pennies then.
$5.60 is just 560 pennies
3 dimes is just 30 pennies
2 nickels is just 10 pennies
so, the ratio from dimes to nickels is a ratio of 30:10 pennies, or 3:1 then, for a total amount of 560 pennies.
