document.write( "Question 943505: Sam has a certain number of rabbits and birds inside a cage. When Sam counted all the animals, there were 35. When he counted all their legs, there were 94. How many rabbits were there in Sam's cage? ( answer is 12 - show your solution ) \n" ); document.write( "
Algebra.Com's Answer #575216 by macston(5194)\"\" \"About 
You can put this solution on YOUR website!
B=no of birds; R= no of rabbits
\n" ); document.write( "B+R=35 (No.of animals)
\n" ); document.write( "2B+4R=94 (no. of legs)
\n" ); document.write( "Solve first equation for R and substitute in second
\n" ); document.write( "R=35-B
\n" ); document.write( "2B+4(35-B)=94
\n" ); document.write( "2B+140-4B=94 Subtract 140 from each side
\n" ); document.write( "-2B+140-140=94-140
\n" ); document.write( "-2B=-46 divide each side by -2
\n" ); document.write( "B=23 ANSWER ! There are 23 birds
\n" ); document.write( "B+R=35
\n" ); document.write( "23+R=35 Subtract 23 from each side
\n" ); document.write( "R=12 ANSWER 2 There are 12 rabbits
\n" ); document.write( "CHECK:
\n" ); document.write( "23+12=35 total animals
\n" ); document.write( "2(23)+4(12)=94
\n" ); document.write( "46+48=94
\n" ); document.write( "94=94 Total legs
\n" ); document.write( "
\n" );