Explanation:
Let's assume that x = number of chickens and y = number of pigs.
Since there are 4 feet for pigs and 2 feet for chickens:
By substitution, let's rearrange the first equation:
Substituting this equation to the second one:
Since we found the number of pigs already, let's substitute the value to any of the equations.
There are 32 chickens and 48 pigs.
To check if 3e are correct, let's use the second equation:
Therefore, the values we found are correct.