document.write( "Question 142563This question is from textbook a survey of mathematics with applications
\n" ); document.write( ": Dorian and Dingo have a petting zoo with 12 animals, and all of them are either sheep or goats. They have twice as many sheep as goats. How many goats do they have?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #103771 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
Dorian and Dingo have a petting zoo with 12 animals, and all of them are either sheep or goats. They have twice as many sheep as goats. How many goats do they have?
\n" ); document.write( "-------------
\n" ); document.write( "Let # of goats be \"x\"; Let # of sheep by \"y\"
\n" ); document.write( "EQUATIONS:
\n" ); document.write( "x + y = 12
\n" ); document.write( "y-2x = 0
\n" ); document.write( "----------------
\n" ); document.write( "Solve by substitution:
\n" ); document.write( "y = 2x
\n" ); document.write( "x + 2x = 12
\n" ); document.write( "3x = 12
\n" ); document.write( "x = 4 (# of goats)
\n" ); document.write( "y = 8 (# of sheep)
\n" ); document.write( "========================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" );