Let's try to create two equations to help us solve this problem. For this problem, will represent the number of nickels and will represent the number of quarters.
A first one could represent the number of <em>coins </em>we have. This does not regard the value of the coins, but rather just how many we could <em>count</em>. Based on the information in the problem, we could say:
After all, the number of nickels is 12 more than the number of quarters.
Now, let's create an equation to represent the value of the coins we have. Since each nickel is worth 5 cents, we can say the value of all the nickels in cents is . We can thus say for quarters that the value of all quarters in cents is . Since we know the value of the coins we have adds to $5.40, or 540 cents, we can say:
Now, we have two equations:
We can use substitution to find our answers:
We have now found that the number of quarters we have is 16. When we use this value in one of our equations, we can find :
We have 16 quarters and 28 nickels.