document.write( "Question 569084: Gaby's piggy bank contains nickels and quarters worth $3.60. If she has 28 coins in all, how many of each does she have? \n" ); document.write( "
Algebra.Com's Answer #367211 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"n\" = number of nickels
\n" ); document.write( "Let \"q\" = number of quarters
\n" ); document.write( "given:
\n" ); document.write( "(1) \"+n+%2B+q+=+28+\"
\n" ); document.write( "(2) \"+5n+%2B+25q+=+360+\" ( in cents )
\n" ); document.write( "-------------------
\n" ); document.write( "Multiply both sides of (1) by \"5\"
\n" ); document.write( "and subtract (1) from (2)
\n" ); document.write( "(2) \"+5n+%2B+25q+=+360+\"
\n" ); document.write( "(1) \"+-5n+-+5q+=+140+\"
\n" ); document.write( "\"+20q+=+220+\"
\n" ); document.write( "\"+q+=+11+\"
\n" ); document.write( "and, since
\n" ); document.write( "(1) \"+n+%2B+q+=+28+\"
\n" ); document.write( "(1) \"+n+%2B+11+=+28+\"
\n" ); document.write( "(1) \"+n+=+17+\"
\n" ); document.write( "She has 17 nickels and 11 quarters
\n" ); document.write( "
\n" );