a farmer has a certain number of cows and chikens. he counts and discovers thst altogether the animals have 21 heads and 58 legs. how many of each animal does he have​