Answer:
There are 9 geese and 18 horses.
Explanation:
Step 1: Make equations.
g ... number of geese
h ... number of horses
First equation: There are 27 animals in the barn.
g + h = 27
Second equation: There are 90 legs in all.
We know geese have two legs and horses 4.
2g + 4h = 90
Step 2: Solve the system of equations.
g + h = 27 (first equation)
2g + 4h = 90 (second equation)
Let's express g in terms of h in first equation.
g + h = 27
g = 27 - h
Now let's substitute g in second equation with g in first equation.
2g + 4h = 90
2(27 - h) + 4h = 90
And solve for h.
54 - 2h + 4h = 90
54 + 2h = 90
2h = 90 - 54
2h = 36
h = 18
Let's substitute the value of h back to first equation to get g.
g = 27 - h
g = 27 - 18
g = 9