document.write( "Question 119444This question is from textbook california edition
\n" ); document.write( ": A group of goats and ducks have a total of 99 heads and legs among them, there are twice as many ducks as there are goats. How many are there of each? \n" ); document.write( "
Algebra.Com's Answer #87500 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
A group of goats and ducks have a total of 99 heads and legs among them, there are twice as many ducks as there are goats. How many are there of each?
\n" ); document.write( "--------------------
\n" ); document.write( "Let \"g\" be # of goats; Let \"d\" be # of ducks
\n" ); document.write( "EQUATIONS:.
\n" ); document.write( "d= 2g
\n" ); document.write( "(g+d)+(4g+2d)=99
\n" ); document.write( "-------------
\n" ); document.write( "Rearrange:
\n" ); document.write( "d=2g
\n" ); document.write( "5g+3d = 99
\n" ); document.write( "----------------
\n" ); document.write( "Substitute to solve for \"g\":
\n" ); document.write( "5g+3(2g)=99
\n" ); document.write( "11g =99
\n" ); document.write( "g = 9 (# of goats)
\n" ); document.write( "d=2*9 = 18 (# of ducks)
\n" ); document.write( "=========================
\n" ); document.write( "Cheers,
\n" ); document.write( "San H.
\n" ); document.write( "
\n" );