25Q + 10*(12-Q) = 165, where Q is the number of quarters. 15Q = 165 - 120 ---> 15Q = 45 ---> Q = = 3. Answer. 3 quarters and 12-3 = 9 dimes.