MATH
posted by ANITA .
PIGS HAVE 4 LEGS  CHICKENS HAVE 2 EACH ... IF YOU HAVE A TOTAL OF 50 LEGS ON 18 TOTAL ANIMALS HOW MANY CHICKENS AND HOW MANY ARE PIGS?

Let C=number of chickens and P=number of pigs
1. C+P=18
2. P=18C (isolate a variable)
3. 2C+4P=50 (Each chicken has two legs, each pig has four legs, and adds up to 50 legs).
4. 2C+4(18C)=50) Substitute 18C for P because step 2 shows P=18C.
2C+724C=50
722C=50
2C= 22
C=11