Let d be the number of dimes. Then the number of quarters is (58-d), according to the condition. Then we can write the money equation for the total in the form 10d + 25*(58-d) = 985 cents. From the equation, d == 31. ANSWER. 31 dimes and 58-31 = 27 quarters. CHECK. 31*10 + 27*25 = 985 cents. ! Precisely correct !