Huixian's grandparents own a farm with m goats and
n chickens. She counted that the animals have a
total of 52 heads and 140 legs. How many goats and
how many chickens are there on the farm?
Hint: A goat has 4 legs and a chicken has 2 legs.​