document.write( "Question 697332: A total of 66 animals are in the farm consisting of pigs and turkeys. If there is a total of 210 feet, how many pigs and turkeys are there?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #429904 by Positive_EV(69)\"\" \"About 
You can put this solution on YOUR website!
For this question, you can set up a system of two equations with two variables.\r
\n" ); document.write( "\n" ); document.write( "Let p = the number of pigs and t = the number of turkeys.\r
\n" ); document.write( "\n" ); document.write( "We know there are 66 animals total, so\r
\n" ); document.write( "\n" ); document.write( "p + t = 66\r
\n" ); document.write( "\n" ); document.write( "We also know there are 210 feet. Pigs have 4 feet and turkeys have 2, so the second equation is:\r
\n" ); document.write( "\n" ); document.write( "4*p + 2*t = 210\r
\n" ); document.write( "\n" ); document.write( "Given these equations, you can solve for either p or t first by eliminating the other variable. \r
\n" ); document.write( "\n" ); document.write( "Since p + t = 66, subtract p from both sides to get\r
\n" ); document.write( "\n" ); document.write( "t = 66 - p. Next, replace the variable t in the second equation with 66 - p, since t = 66 - p:\r
\n" ); document.write( "\n" ); document.write( "4*p + 2*(66 - p) = 210
\n" ); document.write( "4*p + 132 - 2*p = 210
\n" ); document.write( "2*p = 78
\n" ); document.write( "p = 39\r
\n" ); document.write( "\n" ); document.write( "So, there are 39 pigs. Plug this value for p into either equation to find t:\r
\n" ); document.write( "\n" ); document.write( "39 + t = 66
\n" ); document.write( "t = 27\r
\n" ); document.write( "\n" ); document.write( "Thus, there are 39 pigs and 27 turkeys.
\n" ); document.write( "
\n" );