document.write( "Question 1021362: Margie is responsible for buying a week's supply of food and medication for the dogs and cats at a local shelter. The food and medication for each dog costs twice as much as those supplies for a cat. She needs to feed 164 cats and 24 dogs. Her budget is $4240. How much can Margie spend on each dog for food and medication? \n" ); document.write( "
Algebra.Com's Answer #637269 by josgarithmetic(39626)\"\" \"About 
You can put this solution on YOUR website!
Look for variables for cost of 1 dog and cost for 1 cat.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "c and d, for cost of cat and of dog.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"164c%2B24d=4240\" accounts for the cost for the week.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Accounting for described cost differences, \"d=2c\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "SIMPLE SUBSTITUTION
\n" ); document.write( "\"164c%2B24%2A2c=4240\"
\n" ); document.write( "\"164c%2B48c=4240\"
\n" ); document.write( "\"213c=4240\"
\n" ); document.write( "\"c=4240%2F212\"
\n" ); document.write( "\"c=20\"
\n" ); document.write( "-
\n" ); document.write( "\"d=40%2AdollarsPerDog\"
\n" ); document.write( "
\n" );