Answer:
![426\:\mathrm{chickens}](https://img.qammunity.org/2022/formulas/mathematics/high-school/4qyn4eqyq85ypy320lj5olvrqjpob7xwfv.png)
Explanation:
Since a duck has two legs, a pig has four legs, and a chicken has two legs, we can write the following system of equations:
, where
is the number of ducks on the farm,
is the number of chickens, and
is the number of pigs.
Substituting, we get:
![d+(1)/(2)d+3d=639,\\4.5d=639,\\d=\boxed{142}](https://img.qammunity.org/2022/formulas/mathematics/high-school/3prf5jds8eow08qq4azag94g7npm0xwpjo.png)
Now substitute
into
to get the number of chickens:
![c=3(142)=\boxed{426\:\mathrm{chickens}}](https://img.qammunity.org/2022/formulas/mathematics/high-school/ahxnurb3z3wwpzsdwn8h5ova85a9hb410c.png)