Each nickel is worth 5 cents, and each quarter is worth 25 cents.
So, if we have 12 nickels, we can multiply this value by 5 to get its value in cents:
[tex]12\cdot5=60[/tex]Similarly, if we have 4 quarters, we can multiply this value by 25 to get its value in cents:
[tex]4\cdot25=100[/tex]So, in total, we have:
[tex]60+100=160[/tex]So, for 12 nickels and 4 quarter, we have the value of 160 cents.
We can do this generally by setting the values of nickel and quarter to x and y.
If we have x nickels and each one is worth 5 cents, we have the value:
[tex]5x[/tex]And if we have y quarters and each is worth 25 cents, we have the value:
[tex]25y[/tex]So, in total, we have:
[tex]5x+25y[/tex]So, for x nickels and y quarter, we have the value of 5x + 25y cents.