If Courtney has 2 more dimes than quarters
So she has N quarters
and she has N+2 dimes
The N quarters have value of 25N cents.
The N+2 dimes have value of 10(N+2) cents.
and they have a combined value of 265 cents,
So we add the values of the quarters and dimes and set the sum
equal to 265 cents.
25N + 10(N+2) = 265
Solve that to get N, the number of quarters.
Then add 2 to get the number of dimes.
Check by figuring the amount of money in that many quarters and dimes,
to see if it totals up to 265 cents.
Edwin