document.write( "Question 379302: miranda visited a petting zoo on saturday. she counted 95 ducks and goats.
\n" ); document.write( "she also counted 316 legs between the ducks and goats. how many of each kind of each animal did miranda see?
\n" ); document.write( "

Algebra.Com's Answer #269304 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
miranda visited a petting zoo on saturday. she counted 95 ducks and goats.
\n" ); document.write( "she also counted 316 legs between the ducks and goats. how many of each kind of each animal did miranda see?
\n" ); document.write( "------------------------
\n" ); document.write( "Equations:
\n" ); document.write( "Heads: d + g = 95
\n" ); document.write( "Legs::2d +4g = 316
\n" ); document.write( "------------------------
\n" ); document.write( "Multiply thru the 1st equation by 2 to get:
\n" ); document.write( "2d + 2g = 190
\n" ); document.write( "------
\n" ); document.write( "Subtract that from the Legs equation and solve for \"g\":
\n" ); document.write( "2g = 126
\n" ); document.write( "g = 63 (# of goats)
\n" ); document.write( "---
\n" ); document.write( "Since d+g = 95, d = 32 (# of ducks)
\n" ); document.write( "----
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" );