In a farm, there are x pigs and y chickens.
Altogether, there are 100 heads and 250 legs.
How many pigs and chickens are there?
By solving the equations simultaneously,
i.e. finding a common solution for the two
equations,
x = 25, y = 75.
Therefore, there are 25 pigs and 75 chickens.