A man writes a check for d dollars and c cents. The clerk, in error, gave him c dollars and d cents. After spending 5 cents, the man finds the remaining money is twice the amount of the check. Determine the amounts.
We could represent the amount of the check as 100d + c and the amount the clerk gave him as 100c + d and determine an equation to be
2(100d + c) = (100c + d) - 5
What can you do with that? Hint? (only after you have tried)