document.write( "Question 1045157: A farmer had 15 animals in its farmyard. Some were chickens and some were cows. There were 52 legs in all. How many cows were in the farmyard? \n" ); document.write( "
Algebra.Com's Answer #660540 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
x=chickens
\n" ); document.write( "y=cows
\n" ); document.write( "x+y=15
\n" ); document.write( "2x+4y=52
\n" ); document.write( "-2x-2y=-30, multiplying the first equation by -2. Now add them.
\n" ); document.write( "2y=22
\n" ); document.write( "y=11 cows and 44 lege
\n" ); document.write( "x=4 chickens and 8 legs\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );