The situation can be represented by the following system of equation:
4c + 2r = 56
c + r = 20
Where c represents the number of cows and r represents the number of chickens.
Cows have 4 legs so it would be a variable of 4c
Chickens have 2 legs so it would be a variable of 2r
In total they have to have 56 legs which is the aim of the equation.
In the 2nd equation, c + r represents a number of cows and chickens that add up to equal 20 animals in total.