Answer:
There are [tex]38[/tex] chicken and [tex]12[/tex] cows.
Step-by-step explanation:
Each cow has four legs, while each chicken has two.
Assume that all [tex]50[/tex] animals are cows. Under this assumption, there would be [tex]4 \times 50 = 200[/tex] legs in total.
For each chicken counted as a cow, this calculation would have counted [tex](4 - 2) = 2[/tex] extra legs.
In total, this calculation counted [tex]200 - 124 = 76[/tex] extra legs. Since every two extra legs correspond to a chicken, those [tex]76[/tex] extra legs would correspond to [tex]76 / 2 = 38[/tex] chickens counted as cows.
In other words, [tex]38[/tex] of those [tex]50[/tex] animals are chicken. There would then be [tex]50 - 38 = 12[/tex] cows among those animals.