Select the equation that solves this problem:

Eleven coins (dimes and quarters) are worth 170 cents. How many dimes
are there?
a. 10d + 25(11 - d) = 170
b. 10d + 25(8 - d) = 170
c. 10d + 5(8 - d) = 60
d. 10d + 5(11 - d) = 60

a. 10d + 25(11 - d) = 170

check:
10 d + 275 - 25 d = 170
-15 d = - 105
d = 7
then q = 4
70 + 4*25 = 170 sure enough