While on a walk in the country, you pass a field of goats and chickens. After a quick count, you determine there are 38 heads and 108 feet in the field. How many of each animal are there​

Respuesta :

Answer:there are 16 goats and 22 chickens.

Step-by-step explanation:

Let x represent the number of goats in the field.

Let y represent the number if chicken in the field.

After a quick count, you determine there are 38 heads and 108 feet in the field. A goat has one head. A chicken also has one head. It means that

x + y = 38

A goat has four legs. A chicken has 2 legs. It means that

4x + 2y = 108 - - - - - - - - - - - 1

Substituting x = 38 - y into equation 1, it becomes

4(38 - y) + 2y = 108

152 - 4y + 2y = 108

- 4y + 2y = 108 - 152

- 2y = - 44

y = - 44/ - 2

y = 22

x = 38 - y = 38 - 22

x = 16