a farm raises a total of 220 chickens and pigs. The number of legs of the stock in the farm totals 520. How many chickens and pigs are at the farm? Define the variables and write two equations to solve the answer.

1 answer

Let P = pigs and C = chickens

P + C = 220 or
P = 220 - C

4P + 2C = 520

Substitute 220-C for P in second equation and solve for C. Insert that value into the first equation and solve for P. Check by inserting both values into the second equation.