39.8k views
16 votes
There are 6 animals in the pen some are quails and some are goats if there are 20 legs in all how many quails and how many goats are there?

1 Answer

2 votes

Answer:

4 goats

Explanation:

Let us represent

Number of quails = x

Number of goats = y

Quails have 2 legs

Goats have 4 legs

Hence:

There are 6 animals in the pen some are quails and some are goats

x + y = 6...... Equation 1

x = 6 - y

if there are 20 legs in all how many quails

2x + 4y = 20..... Equation 2

We substitute 6 - y for x in Equation 2

2(6 - y) + 4y = 20

12 - 2y + 4y = 20

Collect like terms

- 2y + 4y = 20 - 12

2y = 8

y = 8/2

y = 4 goats

The number of goats there are 4 goats

User Metaforce
by
4.7k points