Pat has $25$ coins, all nickels and quarters. If the nickels were quarters and the quarters were nickels, Pat would have $60$ cents less. How much are the coins worth?
With $n$ nickels and $q$ quarters, swapping changes the value from $5n+25q$ to $25n+5q$, a change of $20(n-q)$. So $n+q=25$ and $20(n-q)=-60$, so $q-n=3$. Hence $n=11$ and $q=14$.