The correct answer is A. The number of dimes (d) and quarters (q) is 22, as said in the problem. So d + q = 22. We know that the total value of these dimes and quarters is $3.40 or 340 cents. We also know that dimes are worth 10 cents and quarters worth 25 cents. The total number of dimes and quarters would be represented like this: 10d + 25q = 340. Therefore A. is the correct answer.